Class: Vagrant::Action::PrimaryRunner

Inherits:
Runner
  • Object
show all
Defined in:
lib/vagrant/action/primary_runner.rb

Overview

A PrimaryRunner is a special kind of "top-level" Action::Runner - it informs any Action::Builders it interacts with that they are also primary. This allows Builders to distinguish whether or not they are nested, which they need to know for proper action_hook handling.

See Also:

Instance Method Summary collapse

Methods inherited from Runner

#initialize, #run

Constructor Details

This class inherits a constructor from Vagrant::Action::Runner

Instance Method Details

#primary?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/vagrant/action/primary_runner.rb', line 13

def primary?
  true
end