Class: RBS::UnitTest::Convertibles::Each

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

Returns a new instance of Each.



166
167
168
# File 'lib/rbs/unit_test/convertibles.rb', line 166

def initialize(*args)
  @args = args
end

Instance Method Details

#each(&block) ⇒ Object



170
171
172
# File 'lib/rbs/unit_test/convertibles.rb', line 170

def each(&block)
  @args.each(&block)
end