Class: Arboretum::DocTree::Elements::GroupListener
- Inherits:
-
ElementGroup
- Object
- ElementGroup
- Arboretum::DocTree::Elements::GroupListener
- Defined in:
- lib/arboretum/doctree.rb
Instance Attribute Summary collapse
-
#exe_block ⇒ Object
Returns the value of attribute exe_block.
-
#rule ⇒ Object
Returns the value of attribute rule.
Attributes inherited from ElementGroup
Instance Method Summary collapse
-
#initialize(rule_string, exe_block) ⇒ GroupListener
constructor
A new instance of GroupListener.
Methods inherited from ElementGroup
#+, #adjacent?, #copy, #detach, #graft_first_onto, #graft_last_onto, #graft_onto, #listing, #only, #text_elements, #text_string, #to_adjacent
Constructor Details
#initialize(rule_string, exe_block) ⇒ GroupListener
Returns a new instance of GroupListener.
1457 1458 1459 1460 1461 |
# File 'lib/arboretum/doctree.rb', line 1457 def initialize(rule_string, exe_block) super() @rule = Arboretum::Scandent::Parser.parse_rule_string(rule_string, :PATH_LISTENER) @exe_block = exe_block end |
Instance Attribute Details
#exe_block ⇒ Object
Returns the value of attribute exe_block.
1455 1456 1457 |
# File 'lib/arboretum/doctree.rb', line 1455 def exe_block @exe_block end |
#rule ⇒ Object
Returns the value of attribute rule.
1455 1456 1457 |
# File 'lib/arboretum/doctree.rb', line 1455 def rule @rule end |