Object
# File lib/commandline/utils.rb, line 3 def param_accessor(*symbols) symbols.each { |sym| self.class_eval %{ def #{sym}(*val) val.empty? ? @#{sym} : @#{sym} = val end } } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.