Skip to content

Commit 0ebf599

Browse files
committed
Avoid warning for the new respond_to? meth signature
1 parent a47af45 commit 0ebf599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gnuplotrb/mixins/plottable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def method_missing(meth_id, *args)
6565
# @return [true] for existing methods and
6666
# #to_|term_name| when name is a valid terminal type.
6767
# @return [false] otherwise
68-
def respond_to?(meth_id)
68+
def respond_to?(meth_id, include_all=false)
6969
# Next line is here to force iRuby use #to_iruby
7070
# instead of #to_svg.
7171
return super if defined? IRuby

0 commit comments

Comments
 (0)