lib/danica/wrapper.rb in danica-2.6.4 vs lib/danica/wrapper.rb in danica-2.7.1
- old
+ new
@@ -21,10 +21,10 @@
return Negative.new(Number.new(-number)) if number < 0
Number.new(number)
end
def self.wrap_hash(hash)
- return Constant.new(hash) if hash.keys.map(&:to_sym).sort == %i(gnu latex value)
+ return Constant.new(hash) if hash.keys.map(&:to_sym).sort == %i(gnuplot latex value)
Variable.new(hash)
end
autoload :Number, 'danica/wrapper/number'
autoload :Group, 'danica/wrapper/group'