Class: RBS::UnitTest::Convertibles::ToIO
- Inherits:
-
BlankSlate
- Object
- BlankSlate
- RBS::UnitTest::Convertibles::ToIO
- Defined in:
- lib/rbs/unit_test/convertibles.rb
Instance Method Summary collapse
-
#initialize(io = $stdout) ⇒ ToIO
constructor
A new instance of ToIO.
- #to_io ⇒ Object
Methods inherited from BlankSlate
Constructor Details
#initialize(io = $stdout) ⇒ ToIO
Returns a new instance of ToIO.
24 25 26 |
# File 'lib/rbs/unit_test/convertibles.rb', line 24 def initialize(io = $stdout) @io = io end |
Instance Method Details
#to_io ⇒ Object
28 29 30 |
# File 'lib/rbs/unit_test/convertibles.rb', line 28 def to_io @io end |