Class: RTFDoc::AttributesComponent

Inherits:
Object
  • Object
show all
Defined in:
lib/rtfdoc.rb

Instance Method Summary collapse

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