class RBS::UnitTest::Convertibles::ToHash

Public Class Methods

new(hash = { 'hello' => 'world' }) click to toggle source
# File rbs-3.4.4/lib/rbs/unit_test/convertibles.rb, line 134
def initialize(hash = { 'hello' => 'world' })
  @hash = hash
end

Public Instance Methods

to_hash() click to toggle source
# File rbs-3.4.4/lib/rbs/unit_test/convertibles.rb, line 138
def to_hash
  @hash
end