Class: Speq::Message
- Defined in:
- lib/speq/values.rb,
lib/speq/string_fmt.rb
Instance Attribute Summary
Attributes inherited from SomeValue
Instance Method Summary collapse
Methods inherited from SomeValue
Constructor Details
This class inherits a constructor from Speq::SomeValue
Instance Method Details
#to_s ⇒ Object
79 80 81 82 |
# File 'lib/speq/string_fmt.rb', line 79 def to_s extra = description ? " (#{description})" : nil "#{value}#{extra}" end |