lib/cinnamon_serial/base.rb in cinnamon_serial-2.1.1 vs lib/cinnamon_serial/base.rb in cinnamon_serial-2.1.2
- old
+ new
@@ -38,10 +38,10 @@
def as_json(_options = {})
data
end
- def respond_to_missing?(method_sym)
+ def respond_to_missing?(method_sym, include_private = false)
data.key?(method_sym.to_s) || super
end
def method_missing(method_sym, *arguments, &block)
key = method_sym.to_s.sub('set_', '')