Class: Namlet::Wrapper
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Namlet::Wrapper
- 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.
3 4 5 6 7 |
# File 'lib/namlet/wrapper.rb', line 3 def initialize(name, actual) super(actual) @name = name @actual = actual end |
Instance Method Details
#inspect ⇒ Object
9 |
# File 'lib/namlet/wrapper.rb', line 9 def inspect ; @name ; end |