Class: Manlycraft::Command::Base
- Inherits:
-
Object
- Object
- Manlycraft::Command::Base
- Defined in:
- lib/manlycraft/command/base.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Instance Method Summary collapse
-
#initialize(args = []) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(args = []) ⇒ Base
Returns a new instance of Base.
4 5 6 |
# File 'lib/manlycraft/command/base.rb', line 4 def initialize(args=[]) @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
2 3 4 |
# File 'lib/manlycraft/command/base.rb', line 2 def args @args end |