Class: Arugula::MatchPart
Instance Attribute Summary collapse
-
#parts ⇒ Object
Returns the value of attribute parts.
Instance Method Summary collapse
-
#initialize ⇒ MatchPart
constructor
A new instance of MatchPart.
- #to_s ⇒ Object
Methods inherited from Part
Constructor Details
Instance Attribute Details
#parts ⇒ Object
Returns the value of attribute parts.
127 128 129 |
# File 'lib/arugula/parts.rb', line 127 def parts @parts end |
Instance Method Details
#to_s ⇒ Object
132 133 134 |
# File 'lib/arugula/parts.rb', line 132 def to_s "(#{parts.join})" end |