Module: Avm::Launcher::Stereotype::ClassMethods

Defined in:
lib/avm/launcher/stereotype.rb

Instance Method Summary collapse

Instance Method Details

#labelObject



28
29
30
# File 'lib/avm/launcher/stereotype.rb', line 28

def label
  ::ColorizedString.new(stereotype_name).send(color)
end

#stereotype_nameObject



32
33
34
# File 'lib/avm/launcher/stereotype.rb', line 32

def stereotype_name
  name.demodulize
end