Method: Ambition::Processors::Slice#initialize
- Defined in:
- lib/ambition/processors/slice.rb
#initialize(context, start, length = nil) ⇒ Slice
Returns a new instance of Slice.
4 5 6 7 8 |
# File 'lib/ambition/processors/slice.rb', line 4 def initialize(context, start, length=nil) @context = context @start = start @length = length end |