Methods

Files

Commander::UI::AskForClass

Implements ask_for_CLASS methods.

Public Instance Methods

method_missing(meth, *args, &block) click to toggle source
# File lib/commander/user_interaction.rb, line 234
def method_missing meth, *args, &block
  case meth.to_s
  when /^ask_for_([\w]+)/ ; $terminal.ask(args.first, Kernel.const_get($1.capitalize))
  else super
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.