Class: RBS::UnitTest::Convertibles::ToStr
- Inherits:
-
BlankSlate
- Object
- BlankSlate
- RBS::UnitTest::Convertibles::ToStr
- Defined in:
- lib/rbs/unit_test/convertibles.rb
Instance Method Summary collapse
-
#initialize(value = "") ⇒ ToStr
constructor
A new instance of ToStr.
- #to_str ⇒ Object
Methods inherited from BlankSlate
Constructor Details
#initialize(value = "") ⇒ ToStr
Returns a new instance of ToStr.
84 85 86 |
# File 'lib/rbs/unit_test/convertibles.rb', line 84 def initialize(value = "") @value = value end |
Instance Method Details
#to_str ⇒ Object
88 89 90 |
# File 'lib/rbs/unit_test/convertibles.rb', line 88 def to_str @value end |