class RBS::UnitTest::Convertibles::ToC

Public Class Methods

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

Public Instance Methods

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