Class: Rddd::Presenters::View
- Inherits:
-
Object
- Object
- Rddd::Presenters::View
- Defined in:
- lib/rddd/presenters/presenter.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
- #data ⇒ Object
-
#initialize(id) ⇒ View
constructor
A new instance of View.
Constructor Details
#initialize(id) ⇒ View
Returns a new instance of View.
49 50 51 |
# File 'lib/rddd/presenters/presenter.rb', line 49 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
47 48 49 |
# File 'lib/rddd/presenters/presenter.rb', line 47 def id @id end |
Instance Method Details
#data ⇒ Object
53 54 55 |
# File 'lib/rddd/presenters/presenter.rb', line 53 def data build end |