class RBS::UnitTest::Convertibles::ToInt

Public Class Methods

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

Public Instance Methods

to_int() click to toggle source
# File rbs-3.7.0/lib/rbs/unit_test/convertibles.rb, line 48
def to_int
  @value
end