class FakeFtp::ServerCommands::Type
Public Instance Methods
run(_, type = 'A', *)
click to toggle source
# File lib/fake_ftp/server_commands/type.rb, line 6 def run(_, type = 'A', *) case type.to_s when 'A' '200 Type set to A.' when 'I' '200 Type set to I.' else '504 We don\'t allow those' end end