module ReservedFor::MethodMissing
Public Instance Methods
method_missing(name, *args)
click to toggle source
Calls superclass method
# File lib/reserved_for/string.rb, line 5 def method_missing(name, *args) if name.to_s =~ /^reserved_for_(.*)\?$/ ReservedFor.public_send($1.to_sym).include?(self) else super end end