Class: Prettyrb::Document::Group
- Defined in:
- lib/prettyrb/document.rb
Instance Attribute Summary collapse
-
#joiner ⇒ Object
readonly
Returns the value of attribute joiner.
Attributes inherited from Builder
Instance Method Summary collapse
-
#initialize(*args, joiner: "") ⇒ Group
constructor
A new instance of Group.
Methods inherited from Builder
#each, #groups, #has_group_part?, #inspect, #max_group_depth
Constructor Details
#initialize(*args, joiner: "") ⇒ Group
Returns a new instance of Group.
108 109 110 111 |
# File 'lib/prettyrb/document.rb', line 108 def initialize(*args, joiner: "") super(*args) @joiner = joiner end |
Instance Attribute Details
#joiner ⇒ Object (readonly)
Returns the value of attribute joiner.
106 107 108 |
# File 'lib/prettyrb/document.rb', line 106 def joiner @joiner end |