Class: Marshal::BlackHole
- Defined in:
- lib/utilrb/marshal/load_with_missing_constants.rb
Class Attribute Summary collapse
-
.name ⇒ Object
readonly
Returns the value of attribute name.
Instance Attribute Summary collapse
-
#__content__ ⇒ Object
readonly
Returns the value of attribute __content__.
Class Method Summary collapse
Instance Method Summary collapse
- #eql?(obj) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(*args) ⇒ BlackHole
constructor
A new instance of BlackHole.
- #method_missing(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ BlackHole
Returns a new instance of BlackHole.
7 8 |
# File 'lib/utilrb/marshal/load_with_missing_constants.rb', line 7 def initialize(*args) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Class Attribute Details
.name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/utilrb/marshal/load_with_missing_constants.rb', line 4 def name @name end |
Instance Attribute Details
#__content__ ⇒ Object (readonly)
Returns the value of attribute __content__.
18 19 20 |
# File 'lib/utilrb/marshal/load_with_missing_constants.rb', line 18 def __content__ @__content__ end |
Class Method Details
Instance Method Details
#eql?(obj) ⇒ Boolean
14 15 16 |
# File 'lib/utilrb/marshal/load_with_missing_constants.rb', line 14 def eql?(obj) equal?(obj) end |
#hash ⇒ Object
10 11 12 |
# File 'lib/utilrb/marshal/load_with_missing_constants.rb', line 10 def hash __id__ end |