Class: RBS::UnitTest::Convertibles::ToArray

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) ⇒ ToArray

Returns a new instance of ToArray.



124
125
126
# File 'lib/rbs/unit_test/convertibles.rb', line 124

def initialize(*args)
  @args = args
end

Instance Method Details

#to_aryObject



128
129
130
# File 'lib/rbs/unit_test/convertibles.rb', line 128

def to_ary
  @args
end