class RBS::UnitTest::Convertibles::ToHash

公共类方法

new(hash = { 'hello' => 'world' }) 点击切换源代码
# File rbs-3.8.0/lib/rbs/unit_test/convertibles.rb, line 134
def initialize(hash = { 'hello' => 'world' })
  @hash = hash
end

公共实例方法

to_hash() 点击切换源代码
# File rbs-3.8.0/lib/rbs/unit_test/convertibles.rb, line 138
def to_hash
  @hash
end