Module: Uberpass::CLI::Actions
- Included in:
- Uberpass::CLI
- Defined in:
- lib/uberpass/cli.rb
Defined Under Namespace
Classes: Register
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
Instance Method Summary collapse
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions.
30 31 32 |
# File 'lib/uberpass/cli.rb', line 30 def actions @actions end |
Instance Method Details
#register_action {|register| ... } ⇒ Object
32 33 34 35 36 |
# File 'lib/uberpass/cli.rb', line 32 def register_action register = Register.new yield register (@actions ||= []) << register end |