lib/slim_lint/atom.rb in slim_lint-0.8.2 vs lib/slim_lint/atom.rb in slim_lint-0.8.3
- old
+ new
@@ -71,9 +71,15 @@
else
super
end
end
+ # @param method_name [String,Symbol] method name
+ # @param args [Array]
+ def respond_to_missing?(method_name, *args)
+ @value.__send__(:respond_to_missing?, method_name, *args) || super
+ end
+
# Return whether this {Atom} or the value it wraps responds to the given
# message.
#
# @param method_sym [Symbol]
# @param include_private [Boolean]