Class: Proctor::Command::AssetListCmd

Inherits:
Object
  • Object
show all
Defined in:
lib/proctor/command/asset_list_cmd.rb

Instance Method Summary collapse

Constructor Details

#initialize(global, options, args) ⇒ AssetListCmd

Returns a new instance of AssetListCmd.



5
6
7
8
9
10
# File 'lib/proctor/command/asset_list_cmd.rb', line 5

def initialize(global, options, args)
  @global  = global
  @options = options
  @args    = args
  @env     = @options['env']
end

Instance Method Details

#gen_listObject



12
13
14
# File 'lib/proctor/command/asset_list_cmd.rb', line 12

def gen_list
  list_all
end

#listObject



16
17
18
# File 'lib/proctor/command/asset_list_cmd.rb', line 16

def list
  puts gen_list
end