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.



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

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

Instance Method Details

#to_sObject



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

def to_s
  @value
end