Class: RBS::UnitTest::Convertibles::ToA

Inherits:
BlankSlate
  • Object
show all
Defined in:
lib/rbs/unit_test/convertibles.rb

Instance Method Summary collapse

Methods inherited from BlankSlate

#__with_object_methods

Constructor Details

#initialize(*args) ⇒ ToA

Returns a new instance of ToA.



114
115
116
# File 'lib/rbs/unit_test/convertibles.rb', line 114

def initialize(*args)
  @args = args
end

Instance Method Details

#to_aObject



118
119
120
# File 'lib/rbs/unit_test/convertibles.rb', line 118

def to_a
  @args
end