Class: Hierogloss::MdC::Group
Instance Attribute Summary collapse
-
#blocks ⇒ Object
readonly
Returns the value of attribute blocks.
Instance Method Summary collapse
-
#initialize(blocks) ⇒ Group
constructor
A new instance of Group.
- #to_debug ⇒ Object
- #to_linear_hieroglyphs ⇒ Object
Constructor Details
#initialize(blocks) ⇒ Group
Returns a new instance of Group.
39 40 41 |
# File 'lib/hierogloss/mdc.rb', line 39 def initialize(blocks) @blocks = blocks end |
Instance Attribute Details
#blocks ⇒ Object (readonly)
Returns the value of attribute blocks.
37 38 39 |
# File 'lib/hierogloss/mdc.rb', line 37 def blocks @blocks end |
Instance Method Details
#to_debug ⇒ Object
43 44 45 |
# File 'lib/hierogloss/mdc.rb', line 43 def to_debug blocks.map {|b| b.to_debug } end |
#to_linear_hieroglyphs ⇒ Object
47 48 49 |
# File 'lib/hierogloss/mdc.rb', line 47 def to_linear_hieroglyphs blocks.map {|b| b.to_linear_hieroglyphs } end |