class RestMyCase::Context::Status::StatusString
Public Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/rest_my_case/context/status.rb, line 8 def method_missing(method, *args, &block) last_char = method[-1] method_name = method[0...-1] if last_char == '!' replace(method_name) elsif last_char == '?' self == method_name else super end end