Class: RBS::UnitTest::Convertibles::ToS

Inherits:
BlankSlate
  • Object
show all
Defined in:
lib/rbs/unit_test/convertibles.rb

Instance Method Summary collapse

Methods inherited from BlankSlate

#__with_object_methods

Constructor Details

#initialize(value = "") ⇒ ToS

Returns a new instance of ToS.



94
95
96
# File 'lib/rbs/unit_test/convertibles.rb', line 94

def initialize(value = "")
  @value = value
end

Instance Method Details

#to_sObject



98
99
100
# File 'lib/rbs/unit_test/convertibles.rb', line 98

def to_s
  @value
end