Class: CC2HTML::Builder
- Inherits:
-
Object
- Object
- CC2HTML::Builder
- Defined in:
- lib/cc2html/builder.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(manifest, dest_name) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(manifest, dest_name) ⇒ Builder
Returns a new instance of Builder.
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/cc2html/builder.rb', line 3 def initialize(manifest, dest_name) @dest_name = dest_name @manifest = manifest @root_items = manifest.organizations.organization.item.items @resources = manifest.resources.resources lom = manifest..lom @title = lom.general.title.title @description = lom.general.description.description if lom.general.description if lom.rights && lom.rights.description @copy_info = lom.rights.description.description end end |