Method: Functional::Slice#initialize
- Defined in:
- lib/functional.rb
#initialize(n) ⇒ Slice
Returns a new instance of Slice.
259 260 261 |
# File 'lib/functional.rb', line 259 def initialize n @buf, @n = [], n end |
Returns a new instance of Slice.
259 260 261 |
# File 'lib/functional.rb', line 259 def initialize n @buf, @n = [], n end |