Class: RBS::UnitTest::Convertibles::Each
- Inherits:
-
BlankSlate
- Object
- BlankSlate
- RBS::UnitTest::Convertibles::Each
- Defined in:
- lib/rbs/unit_test/convertibles.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(*args) ⇒ Each
constructor
A new instance of Each.
Methods inherited from BlankSlate
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 |