Class: Avm::Runners::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/runners/base.rb

Direct Known Subclasses

Instances::Runner

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.command_argumentObject



11
12
13
# File 'lib/avm/runners/base.rb', line 11

def command_argument
  stereotype_name.underscore.dasherize
end

.stereotype_nameObject



15
16
17
# File 'lib/avm/runners/base.rb', line 15

def stereotype_name
  name.split('::')[-3]
end

Instance Method Details

#to_sObject



22
23
24
# File 'lib/avm/runners/base.rb', line 22

def to_s
  stereotype_name
end