Module: Avm::Projects::Stereotype::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#labelObject



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

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

#stereotype_nameObject



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

def stereotype_name
  name.demodulize
end