Class: BasicObject

Class | BasicObject
In: | lib/more/facets/basicobject.rb
Parent: | Object

BasicObject provides an abstract base class with no predefined methods (except for `__send__` and `__id__`). BlankSlate is useful as a base class when writing classes that depend upon `method_missing` (e.g. dynamic proxies).

### Methods

hide

### Public Class methods

hide(name)

Hide the method named `name` in the BlankSlate class. Don‘t hide `instance_eval` or any method beginning with "__".

[Source]

    # File lib/more/facets/basicobject.rb, line 21
          def hide(name)
            undef_method name if
            instance_methods.include?(name.to_s) and
            name !~ /^(__|instance_eval)/
          end

[Validate]