class RBS::UnitTest::Convertibles::ToF

Public Class Methods

new(value = 0.1) click to toggle source
# File rbs-3.4.0/lib/rbs/unit_test/convertibles.rb, line 54
def initialize(value = 0.1)
  @value = value
end

Public Instance Methods

to_f() click to toggle source
# File rbs-3.4.0/lib/rbs/unit_test/convertibles.rb, line 58
def to_f
  @value
end