Class Summary |
Assigner |
Base class for block assignment logic. |
Pre0Rest0Post0Assigner |
Assign to no arguments. |
Pre0Rest0Post0BlockAssigner |
Assign to no arguments except for a block variable |&b|. |
Pre0Rest1Post0Assigner |
Assign to a single rest argument. |
Pre0Rest1Post0BlockAssigner |
Assign to a single rest argument and a block variable |*r, &b|. |
Pre1ExpandedRest0Post0Assigner |
A single fixed parameter which can handled receiving an expandable argument (RubyArray). |
Pre1ExpandedRest0Post0BlockAssigner |
A single fixed parameter which can handled receiving an expandable
argument (RubyArray) that also has a block variable. |
Pre1Rest0Post0Assigner |
Assigner with one fixed parameter (pre) and a rest argument. |
Pre1Rest0Post0BlockAssigner |
Assigner with one fixed parameter (pre) and a rest argument. |
Pre1Rest1Post0Assigner |
Assigner with one fixed parameter (pre) and a rest argument. |
Pre1Rest1Post0BlockAssigner |
Assigner with one fixed parameter (pre), a rest argument, and a block
argument |a, *b, &c|. |
Pre2Rest0Post0Assigner |
Assigner for two fixed parameters (pre). |
Pre2Rest0Post0BlockAssigner |
Assigner for two fixed parameters (pre) and a block variable: |a,b,&c| |
Pre2Rest1Post0Assigner |
Assigner for two fixed parameters (pre) with a rest arg |
Pre2Rest1Post0BlockAssigner |
Assigner for two fixed parameters (pre), a rest arg, and a block var:
|a,b,*c,&d|. |
Pre3Rest0Post0Assigner |
Assigner for three fixed arguments (pre). |
Pre3Rest0Post0BlockAssigner |
Assigner for three fixed arguments (pre) and a block var: |a,b,c,&d| |
Pre3Rest1Post0Assigner |
Assigner for three fixed parameters (pre) plus a rest argument. |
Pre3Rest1Post0BlockAssigner |
Assigner for three fixed parameters (pre), a rest argument and a block
variable: |a,b,c,*d,&e| |
PreManyRest0Post0Assigner |
This will only be true for blocks which have a pre > 3 in length. |
PreManyRest0Post0BlockAssigner |
This will only be true for blocks which have a pre > 3 in length and have
a block variable: |a,b,c,...,z,&A|. |
PreManyRest1Post0Assigner |
This will only be true for blocks which have a pre > 3 in length with a rest argument. |
PreManyRest1Post0BlockAssigner |
This will only be true for blocks which have a pre > 3 in length with a
rest argument, and a block variable: |a,b,c,d,e,f,g,h,...,z,*A,&B| |