Class: Cabriolet::Models::CHMSection
- Inherits:
-
Object
- Object
- Cabriolet::Models::CHMSection
- Defined in:
- lib/cabriolet/models/chm_section.rb
Overview
Base class for CHM sections
Direct Known Subclasses
Instance Attribute Summary collapse
-
#chm ⇒ Object
Returns the value of attribute chm.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(chm, id) ⇒ CHMSection
constructor
A new instance of CHMSection.
Constructor Details
#initialize(chm, id) ⇒ CHMSection
Returns a new instance of CHMSection.
9 10 11 12 |
# File 'lib/cabriolet/models/chm_section.rb', line 9 def initialize(chm, id) @chm = chm @id = id end |
Instance Attribute Details
#chm ⇒ Object
Returns the value of attribute chm.
7 8 9 |
# File 'lib/cabriolet/models/chm_section.rb', line 7 def chm @chm end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/cabriolet/models/chm_section.rb', line 7 def id @id end |