Class: Manlycraft::Command::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/manlycraft/command/base.rb

Direct Known Subclasses

Help, Init, Start, Stop

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



2
3
4
# File 'lib/manlycraft/command/base.rb', line 2

def args
  @args
end