Class: Moku::Command::Caches

Inherits:
Moku::Command show all
Defined in:
lib/moku/command/caches.rb

Overview

Show the cached releases

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Caches.


11
12
13
14
# File 'lib/moku/command/caches.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/caches.rb', line 16

def long
  @long
end

Instance Method Details

#actionObject


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

def action
  :caches
end