Class: ActiveRepresenter::Base
- Inherits:
-
Object
- Object
- ActiveRepresenter::Base
- Defined in:
- lib/active_representer/base.rb
Instance Attribute Summary collapse
-
#wrapped ⇒ Object
readonly
Returns the value of attribute wrapped.
Instance Method Summary collapse
-
#initialize(wrapped) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(wrapped) ⇒ Base
Returns a new instance of Base.
9 10 11 |
# File 'lib/active_representer/base.rb', line 9 def initialize(wrapped) @wrapped = wrapped end |
Instance Attribute Details
#wrapped ⇒ Object (readonly)
Returns the value of attribute wrapped.
5 6 7 |
# File 'lib/active_representer/base.rb', line 5 def wrapped @wrapped end |