lib/configit/base.rb in configit-0.1.2 vs lib/configit/base.rb in configit-0.1.3

- old
+ new

@@ -14,10 +14,11 @@ class Base @@converters ||= { :string => lambda {|v| v.to_s}, :integer => lambda {|v| v.to_i}, :float => lambda {|v| v.to_f}, - :symbol => lambda {|v| v.to_sym} + :symbol => lambda {|v| v.to_sym}, + :array => lambda {|v| v.to_a} } # Returns the attributes defined for this class. def attributes @attributes ||= {}