Update util.rb
line 128, Float type is also not something that can be dup'ed, similar to Fixnum and friends
This commit is contained in:
parent
b2cb90c20f
commit
ae2d1487fa
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…
Add table
Reference in a new issue