Module: EacLauncher::Stereotype::ClassMethods

Defined in:
lib/eac_launcher/stereotype.rb

Instance Method Summary collapse

Instance Method Details

#publish_classObject



34
35
36
# File 'lib/eac_launcher/stereotype.rb', line 34

def publish_class
  sub_class('Publish')
end

#stereotype_nameObject



26
27
28
# File 'lib/eac_launcher/stereotype.rb', line 26

def stereotype_name
  name.gsub(/^.*::/, '')
end

#stereotype_name_in_colorObject



30
31
32
# File 'lib/eac_launcher/stereotype.rb', line 30

def stereotype_name_in_color
  stereotype_name.send(color)
end

#warp_classObject



38
39
40
# File 'lib/eac_launcher/stereotype.rb', line 38

def warp_class
  sub_class('Warp')
end