lib/danica/wrapper/group.rb in danica-2.6.4 vs lib/danica/wrapper/group.rb in danica-2.7.1
- old
+ new
@@ -12,15 +12,15 @@
def initialize(value)
@value = wrap_value(value)
end
- def to_tex
- "\\left(#{value.to_tex}\\right)"
+ def to_tex(**options)
+ "\\left(#{value.to_tex(options)}\\right)"
end
- def to_gnu
- "(#{value.to_gnu})"
+ def to_gnu(**options)
+ "(#{value.to_gnu(options)})"
end
def ==(other)
return value == other unless other.is_a?(self.class)
value == other.value