class StringInquirer

Private Instance Methods

method_missing(method_name, *arguments) click to toggle source
Calls superclass method
# File lib/extensions.rb, line 119
def method_missing(method_name, *arguments)
  if method_name.end_with?("?")
    self == method_name[0..-2]
  else
    super
  end
end
respond_to_missing?(method_name, include_private = false) click to toggle source
Calls superclass method
# File lib/extensions.rb, line 115
def respond_to_missing?(method_name, include_private = false)
  method_name.end_with?("?") || super
end