Class: RBS::UnitTest::Convertibles::ToSym
- Inherits:
-
BlankSlate
- Object
- BlankSlate
- RBS::UnitTest::Convertibles::ToSym
- Defined in:
- lib/rbs/unit_test/convertibles.rb
Instance Method Summary collapse
-
#initialize(value = :&) ⇒ ToSym
constructor
A new instance of ToSym.
- #to_sym ⇒ Object
Methods inherited from BlankSlate
Constructor Details
#initialize(value = :&) ⇒ ToSym
Returns a new instance of ToSym.
104 105 106 |
# File 'lib/rbs/unit_test/convertibles.rb', line 104 def initialize(value = :&) @value = value end |
Instance Method Details
#to_sym ⇒ Object
108 109 110 |
# File 'lib/rbs/unit_test/convertibles.rb', line 108 def to_sym @value end |