Class: Avm::Instances::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/instances/runner.rb

Class Method Summary collapse

Class Method Details

.instance_classObject



9
10
11
# File 'lib/avm/instances/runner.rb', line 9

def instance_class
  ::Avm.const_get(stereotype_name).const_get('Instance')
end

.stereotype_moduleObject



13
14
15
# File 'lib/avm/instances/runner.rb', line 13

def stereotype_module
  ::Avm.const_get(stereotype_name)
end

.stereotype_nameObject



17
18
19
# File 'lib/avm/instances/runner.rb', line 17

def stereotype_name
  name.demodulize
end