module ModifierForClassObjectModule
# begin_documentation
CLOSED for extensions: The module: ModifierForClassObjectModule
should have been called: RubymentModifierForClassObjectModule
instead, to preserve the naming standards. RubymentModifierForClassObjectModule
will receive the new functions, and ModifierForClassObjectModule
must be closed for extensions.
Object
will be changed just by including this file or requiring rubyment, which is not the best approach, but kept to respect the open/closed principle, the Object
class is kept adding some methods.
However, the best approach is to add new functions to this module, which will only be used to modify the Object
class if the RubymentModule
is included.
# end_documentation
Public Instance Methods
__is(object)
click to toggle source
# File lib/rubyment.rb, line 1107 def __is object object end
__note(arg)
click to toggle source
# File lib/rubyment.rb, line 1117 def __note arg self end
array__is(*args)
click to toggle source
# File lib/rubyment.rb, line 1112 def array__is *args args end