Module: EacLauncher::Stereotype::ClassMethods

Defined in:
lib/eac_launcher/stereotype.rb

Instance Method Summary collapse

Instance Method Details

#publish_classObject



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

def publish_class
  sub_class('Publish')
end

#stereotype_nameObject



18
19
20
# File 'lib/eac_launcher/stereotype.rb', line 18

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

#stereotype_name_in_colorObject



22
23
24
# File 'lib/eac_launcher/stereotype.rb', line 22

def stereotype_name_in_color
  stereotype_name.send(color)
end

#warp_classObject



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

def warp_class
  sub_class('Warp')
end