Class: Moku::Command::Releases

Inherits:
Command
  • Object
show all
Defined in:
lib/moku/command/releases.rb

Overview

Show the releases

Instance Attribute Summary collapse

Attributes inherited from Command

#instance_name, #logger, #user

Instance Method Summary collapse

Methods inherited from Command

#authorized?, #instance

Constructor Details

#initialize(instance_name:, user:, long: false) ⇒ Releases

Returns a new instance of Releases.


11
12
13
14
# File 'lib/moku/command/releases.rb', line 11

def initialize(instance_name:, user:, long: false)
  super(instance_name: instance_name, user: user)
  @long = long
end

Instance Attribute Details

#longObject (readonly)

Returns the value of attribute long


16
17
18
# File 'lib/moku/command/releases.rb', line 16

def long
  @long
end

Instance Method Details

#actionObject


18
19
20
# File 'lib/moku/command/releases.rb', line 18

def action
  :releases
end