Skip to content

Commit ed88258

Browse files
committed
change respond_to? to respond_to_missing?
1 parent f0a59f4 commit ed88258

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bashly/script/base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ def method_missing(method_name, *arguments, &block)
5353
respond_to?(method_name) ? options[key] : super
5454
end
5555

56-
def respond_to?(method_name, include_private = false)
56+
def respond_to_missing?(method_name, include_private = false)
5757
OPTION_KEYS.include?(method_name) || super
5858
end
5959
end
6060
end
61-
end
61+
end

0 commit comments

Comments
 (0)