Merge pull request #1538 from taf2/patch-1
Update util.rb to support float in yaml files
This commit is contained in:
commit
c0ddf15add
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ module Middleman
|
|||
Hamster::Set.new(res)
|
||||
when Hamster::Vector, Hamster::Set, Hamster::SortedSet
|
||||
obj.map { |element| recursively_enhance(element) }
|
||||
when ::TrueClass, ::FalseClass, ::Fixnum, ::Symbol, ::NilClass
|
||||
when ::TrueClass, ::FalseClass, ::Fixnum, ::Symbol, ::NilClass, ::Float
|
||||
obj
|
||||
else
|
||||
obj.dup.freeze
|
||||
|
|
Loading…
Reference in a new issue