Object
New Argument.
# File lib/clio/usage/argument.rb, line 16 def initialize(type, &block) @type = type #@name = type.downcase if type.upcase != type @splat = false @help = '' instance_eval(&block) if block end
# File lib/clio/usage/argument.rb, line 25 def initialize_copy(o) #@name = o.name.dup @type = o.type.dup @help = o.help.dup end
Generated with the Darkfish Rdoc Generator 2.