Class: Expressir::Model::Declarations::RemarkItem
- Inherits:
-
Expressir::Model::Declaration
- Object
- ModelElement
- Expressir::Model::Declaration
- Expressir::Model::Declarations::RemarkItem
- Defined in:
- lib/expressir/model/declarations/remark_item.rb
Overview
Implicit item with remarks
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ RemarkItem
constructor
A new instance of RemarkItem.
Methods inherited from ModelElement
#children, #children_by_id, #find, from_hash, model_attr_accessor, model_attrs, #path, #reset_children_by_id, #to_hash, #to_liquid, #to_s
Constructor Details
#initialize(options = {}) ⇒ RemarkItem
Returns a new instance of RemarkItem.
12 13 14 15 16 17 |
# File 'lib/expressir/model/declarations/remark_item.rb', line 12 def initialize( = {}) @id = [:id] @remarks = [:remarks] || [] super end |