Class: RBS::UnitTest::Convertibles::ToI
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
- .new(value = 3) ⇒ ToI constructor
Instance Method Summary
Constructor Details
.new(value = 3) ⇒ ToI
# File 'lib/rbs/unit_test/convertibles.rb', line 34
def initialize(value = 3) @value = value end
Instance Method Details
#to_i
[ GitHub ]# File 'lib/rbs/unit_test/convertibles.rb', line 38
def to_i @value end