lib/danica/wrapper/constant.rb in danica-2.4.2 vs lib/danica/wrapper/constant.rb in danica-2.4.3
- old
+ new
@@ -6,9 +6,10 @@
attr_reader :value, :latex, :gnu
default_value :priority, 10
default_value :valued?, true
default_value :is_grouped?, false
+ default_value :constant?, true
def initialize(*args)
attrs = args.extract_options!
attrs = args.as_hash(%i(value latex gnu)).merge(attrs)