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