class DropSequence
class DropSequence
lib/drop_sequence.tya:2
DropSequence provides the drop_sequence standard library API.
Source
# DropSequence provides the drop_sequence standard library API.
class DropSequence implements Sequence
# DropSequence.n stores instance state.
# @type Nil
n: nil
# DropSequence.source stores instance state.
# @type Nil
source: nil
# DropSequence.initialize provides the drop_sequence standard library operation.
# @param source String source value.
# @param n Int n value.
# @return Self the initialized object.
initialize: source, n ->
self.source = source
self.n = n
Instance Variables
n
DropSequence.n
lib/drop_sequence.tya:5
DropSequence.n stores instance state.
Source
# DropSequence.n stores instance state.
# @type Nil
n: nil
source
DropSequence.source
lib/drop_sequence.tya:9
DropSequence.source stores instance state.
Source
# DropSequence.source stores instance state.
# @type Nil
source: nil
Methods
initialize
DropSequence.initialize(source, n)
lib/drop_sequence.tya:15
DropSequence.initialize provides the drop_sequence standard library operation.
Source
# DropSequence.initialize provides the drop_sequence standard library operation.
# @param source String source value.
# @param n Int n value.
# @return Self the initialized object.
initialize: source, n ->
self.source = source
self.n = n