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

6 methods from Object ► show

Instance Methods

Inherited instance methods

1 methods from FilterPattern ► show
43 methods from Pattern ► show
159 methods from AbstractFunction ► show
260 methods from Object ► show

Undocumented instance methods

.embedInStream(event)

.key

.key = value

.repeats

.repeats = value

Examples