Class: Rig::Command::Instance::Tag::Get
Instance Method Summary
collapse
Methods inherited from Abstract
#instance_list, #print_table
Instance Method Details
#execute ⇒ Object
10
11
12
13
14
|
# File 'lib/rig/command/instance/tag/get.rb', line 10
def execute
instance = Rig::Model::Instance.find(name)
raise "instance not found #{name}" unless instance
puts "#{instance.tags.inspect}"
end
|