Class: Avm::ApplicationStereotypes::Base

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

Instance Method Summary collapse

Instance Method Details

#nameString

Returns:

  • (String)


13
14
15
# File 'lib/avm/application_stereotypes/base.rb', line 13

def name
  namespace_module.name.demodulize
end

#to_sString

Returns:

  • (String)


18
19
20
# File 'lib/avm/application_stereotypes/base.rb', line 18

def to_s
  name
end