Module | Commander::UI::AskForClass |
In: |
lib/commander/user_interaction.rb
lib/commander/user_interaction.rb |
Implements ask_for_CLASS methods.
# File lib/commander/user_interaction.rb, line 234 234: def method_missing meth, *args, &block 235: case meth.to_s 236: when /^ask_for_([\w]+)/ ; $terminal.ask(args.first, Kernel.const_get($1.capitalize)) 237: else super 238: end 239: end