class String
Public Instance Methods
method_missing(method_name, *args, &block)
click to toggle source
Calls superclass method
# File lib/self_inquirer/string.rb, line 2 def method_missing(method_name, *args, &block) if method_name.to_s.end_with? "?" self == method_name.to_s[0..-2] else super end end