lib/envied/coercer.rb in envied-0.9.3 vs lib/envied/coercer.rb in envied-0.10.0.alpha1

- old
+ new

@@ -20,10 +20,10 @@ coercer.public_send("to_#{type.downcase}", string) end def self.supported_types @supported_types ||= begin - [:hash, :array, :time, :date, :symbol, :boolean, :integer, :string, :uri, :float].sort + [:env, :hash, :array, :time, :date, :symbol, :boolean, :integer, :string, :uri, :float].sort end end # Whether or not Coercer can coerce strings to the provided type. #