Pn:
Filter:

Pn : FilterPattern : Pattern : AbstractFunction : Object

repeatedly embed a pattern
Subclasses: Pgate

Class Methods

Pn.new(pattern, repeats: inf, key)

Arguments:

pattern

the pattern to repeat

repeats

Repeats the enclosed pattern repeats times.

key

If key is non-nil, it sets the value of that key to true whenever it restarts the pattern. This can be used to advance Patterns enclosed by Pgate.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(event)

.key

.key = value

.repeats

.repeats = value

Examples