lib/isomer/parameter.rb in isomer-0.0.1 vs lib/isomer/parameter.rb in isomer-0.1.0

- old
+ new

@@ -2,15 +2,15 @@ attr_reader :default def initialize(id, options) @id = id @required = options[:required] || false - @from = options[:from] + @name = options[:name] @default = options[:default] end def name - (@from || @id).to_s + (@name || @id).to_s end def required? @required === true end \ No newline at end of file