Class: Rig::Command::Instance::View

Inherits:
Abstract
  • Object
show all
Includes:
Options::ShowAll
Defined in:
lib/rig/command/instance/view.rb

Instance Method Summary collapse

Methods included from Options::ShowAll

included

Methods inherited from Abstract

#instance_list, #print_table

Instance Method Details

#executeObject



10
11
12
13
14
15
# File 'lib/rig/command/instance/view.rb', line 10

def execute
  list = Rig::Model::Instance.find(name)
  list.each do |item|
    ap item.attributes
  end
end