lib/CLIntegracon/formatter.rb in clintegracon-0.5.1 vs lib/CLIntegracon/formatter.rb in clintegracon-0.5.2
- old
+ new
@@ -66,10 +66,10 @@
# which the #formatter also responds.
#
# @return [Bool]
#
def respond_to?(method)
- if /^describe_/.match(method) && @formatter.respond_to?(method)
+ if /^describe_/.match(method.to_s) && @formatter.respond_to?(method)
true
else
super
end
end