lib/eac_launcher/context.rb in eac_launcher-0.4.0 vs lib/eac_launcher/context.rb in eac_launcher-0.5.0

- old
+ new

@@ -18,11 +18,11 @@ @default ||= Context.new end end attr_reader :root, :settings, :cache_root - attr_accessor :publish_options, :recache + attr_accessor :publish_options, :recache, :instance_manager def initialize(options = {}) @options = options.with_indifferent_access @root = ::EacLauncher::Paths::Logical.new(self, nil, build_option(:projects_root), '/') @settings = ::EacLauncher::Context::Settings.new(build_option(:settings_file)) @@ -36,9 +36,13 @@ instances.find { |i| i.name == name } end def instances @instance_manager.instances + end + + def pending_instances + @instance_manager.pending_instances end private def build_option(key)