Class: HappyMapper::UnExtendable
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- HappyMapper::UnExtendable
- Defined in:
- lib/happymapper/un_extendable.rb
Overview
nil, Float, and other classes can’t be extended so this object acts as wrapper
Instance Method Summary collapse
Instance Method Details
#class ⇒ Object
5 6 7 |
# File 'lib/happymapper/un_extendable.rb', line 5 def class __getobj__.class end |
#nil? ⇒ Boolean
9 10 11 |
# File 'lib/happymapper/un_extendable.rb', line 9 def nil? __getobj__.nil? end |