Class: Namlet::Wrapper
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Namlet::Wrapper
- Extended by:
- Forwardable
- Defined in:
- lib/namlet/wrapper.rb
Instance Method Summary collapse
-
#initialize(name, actual) ⇒ Wrapper
constructor
A new instance of Wrapper.
- #inspect ⇒ Object
Constructor Details
#initialize(name, actual) ⇒ Wrapper
Returns a new instance of Wrapper.
6 7 8 9 10 |
# File 'lib/namlet/wrapper.rb', line 6 def initialize(name, actual) super(actual) @name = name @actual = actual end |
Instance Method Details
#inspect ⇒ Object
13 |
# File 'lib/namlet/wrapper.rb', line 13 def inspect ; @name ; end |