Class: RTFDoc::AttributesComponent
- Inherits:
-
Object
- Object
- RTFDoc::AttributesComponent
- Defined in:
- lib/rtfdoc.rb
Instance Method Summary collapse
-
#initialize(raw_attrs, title) ⇒ AttributesComponent
constructor
A new instance of AttributesComponent.
Constructor Details
#initialize(raw_attrs, title) ⇒ AttributesComponent
Returns a new instance of AttributesComponent.
8 9 10 11 |
# File 'lib/rtfdoc.rb', line 8 def initialize(raw_attrs, title) @attributes = YAML.load(raw_attrs) @title = title end |