Class: RBS::UnitTest::Convertibles::ToHash
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
BlankSlate
|
|
Instance Chain:
self,
BlankSlate
|
|
Inherits: |
RBS::UnitTest::Convertibles::BlankSlate
|
Defined in: | lib/rbs/unit_test/convertibles.rb |
Class Method Summary
- .new(hash = { 'hello' => 'world' }) ⇒ ToHash constructor
Instance Method Summary
Constructor Details
.new(hash = { 'hello' => 'world' }) ⇒ ToHash
# File 'lib/rbs/unit_test/convertibles.rb', line 134
def initialize(hash = { 'hello' => 'world' }) @hash = hash end
Instance Method Details
#to_hash
[ GitHub ]# File 'lib/rbs/unit_test/convertibles.rb', line 138
def to_hash @hash end