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