class RBS::UnitTest::Convertibles::ToR

Public Class Methods

new(value = 1r) click to toggle source
# File rbs-3.4.4/lib/rbs/unit_test/convertibles.rb, line 64
def initialize(value = 1r)
  @value = value
end

Public Instance Methods

to_r() click to toggle source
# File rbs-3.4.4/lib/rbs/unit_test/convertibles.rb, line 68
def to_r
  @value
end