123456789_123456789_123456789_123456789_123456789_

Class: RBS::UnitTest::Convertibles::ToC

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BlankSlate
Instance Chain:
self, BlankSlate
Inherits: RBS::UnitTest::Convertibles::BlankSlate
Defined in: lib/rbs/unit_test/convertibles.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(value) ⇒ ToC

[ GitHub ]

  
# File 'lib/rbs/unit_test/convertibles.rb', line 74

def initialize(value = 1i)
  @value = value
end

Instance Method Details

#to_c

[ GitHub ]

  
# File 'lib/rbs/unit_test/convertibles.rb', line 78

def to_c
  @value
end