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