Class: String

Inherits:
Object
  • Object
show all
Includes:
ReservedFor::MethodMissing
Defined in:
lib/reserved_for/string.rb

Instance Method Summary collapse

Methods included from ReservedFor::MethodMissing

#method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ReservedFor::MethodMissing

Instance Method Details

#reserved_for_any?Boolean Also known as: reserved_for?

Returns:

  • (Boolean)


16
17
18
# File 'lib/reserved_for/string.rb', line 16

def reserved_for_any?
  ReservedFor.any.include?(self)
end