lib/eac_launcher/instances/base.rb in eac_launcher-0.1.5 vs lib/eac_launcher/instances/base.rb in eac_launcher-0.1.6

- old
+ new

@@ -12,10 +12,14 @@ def initialize(path, parent) super(path) @parent = parent end + def name + to_root_path + end + def stereotypes_uncached EacLauncher::Stereotype.stereotypes.select { |s| s.match?(self) } end def stereotype?(stereotype) @@ -40,18 +44,18 @@ end def publish_run stereotypes.each do |s| next unless publish?(s) - infov(to_root_path, "publishing #{s.stereotype_name_in_color}") + infov(name, "publishing #{s.stereotype_name_in_color}") s.publish_class.new(self).run end end def publish_check stereotypes.each do |s| next unless publish?(s) - puts "#{to_root_path.to_s.cyan}|#{s.stereotype_name_in_color}|" \ + puts "#{name.to_s.cyan}|#{s.stereotype_name_in_color}|" \ "#{s.publish_class.new(self).check}" end end def project_name