Class: ScalaEnumerable
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(underlying) ⇒ ScalaEnumerable
constructor
A new instance of ScalaEnumerable.
Constructor Details
#initialize(underlying) ⇒ ScalaEnumerable
Returns a new instance of ScalaEnumerable.
55 56 57 |
# File 'lib/ext/kafka.rb', line 55 def initialize() @underlying = end |
Instance Method Details
#each(&block) ⇒ Object
59 60 61 |
# File 'lib/ext/kafka.rb', line 59 def each(&block) @underlying.foreach(&block) end |