Class: DiceBag::LabelPart
- Inherits:
-
SimplePart
- Object
- SimplePart
- DiceBag::LabelPart
- Defined in:
- lib/dicebag/label_part.rb
Overview
The subclass for a label.
Instance Attribute Summary
Attributes inherited from SimplePart
Instance Method Summary collapse
Methods inherited from SimplePart
Constructor Details
This class inherits a constructor from DiceBag::SimplePart
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/dicebag/label_part.rb', line 6 def to_s format('(%s)', value) end |