Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/guff/java_source.rb
Instance Method Summary collapse
Instance Method Details
#each_joined(joiner) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/guff/java_source.rb', line 19 def each_joined(joiner) last = size - 1 for i in 0..last joiner.call if i > 0 yield self[i] end end |