Class: Avm::Tools::Runner::ApplicationStereotypes::List

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/tools/runner/application_stereotypes/list.rb

Instance Method Summary collapse

Instance Method Details

#output_contentObject



17
18
19
# File 'lib/avm/tools/runner/application_stereotypes/list.rb', line 17

def output_content
  stereotypes.map { |s| "#{s}\n" }.join
end

#runObject



12
13
14
15
# File 'lib/avm/tools/runner/application_stereotypes/list.rb', line 12

def run
  infov 'Found', stereotypes.count
  run_output
end