class RBS::UnitTest::Convertibles::ToI

Public Class Methods

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

Public Instance Methods

to_i() click to toggle source
# File rbs-3.6.1/lib/rbs/unit_test/convertibles.rb, line 38
def to_i
  @value
end