Module: EacLauncher::Stereotype::ClassMethods
- Defined in:
- lib/eac_launcher/stereotype.rb
Instance Method Summary collapse
- #publish_class ⇒ Object
- #stereotype_name ⇒ Object
- #stereotype_name_in_color ⇒ Object
- #warp_class ⇒ Object
Instance Method Details
#publish_class ⇒ Object
26 27 28 |
# File 'lib/eac_launcher/stereotype.rb', line 26 def publish_class sub_class('Publish') end |
#stereotype_name ⇒ Object
18 19 20 |
# File 'lib/eac_launcher/stereotype.rb', line 18 def stereotype_name name.gsub(/^.*::/, '') end |
#stereotype_name_in_color ⇒ Object
22 23 24 |
# File 'lib/eac_launcher/stereotype.rb', line 22 def stereotype_name_in_color stereotype_name.send(color) end |
#warp_class ⇒ Object
30 31 32 |
# File 'lib/eac_launcher/stereotype.rb', line 30 def warp_class sub_class('Warp') end |