lib/clamp/parameter.rb in jls-clamp-0.3.1 vs lib/clamp/parameter.rb in jls-clamp-0.3.1.2
- old
+ new
@@ -12,9 +12,12 @@
@attribute_name = options[:attribute_name].to_s
end
if options.has_key?(:default)
@default_value = options[:default]
end
+ if options.has_key?(:env)
+ @environment_variable = options[:env]
+ end
end
attr_reader :name, :attribute_name
def help_lhs