Class: Guard::Unity::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/unity/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Runner

Returns a new instance of Runner.



10
11
12
13
14
# File 'lib/guard/unity/runner.rb', line 10

def initialize(options = {})
  @options  = options
  @parser   = options[:parser]    || Guard::Unity::Parser.new(options)
  @notifier = options[:notifier]  || Guard::Unity::Notifier.new
end

Instance Attribute Details

#notifierObject

Returns the value of attribute notifier.



8
9
10
# File 'lib/guard/unity/runner.rb', line 8

def notifier
  @notifier
end

#optionsObject

Returns the value of attribute options.



8
9
10
# File 'lib/guard/unity/runner.rb', line 8

def options
  @options
end

#parserObject

Returns the value of attribute parser.



8
9
10
# File 'lib/guard/unity/runner.rb', line 8

def parser
  @parser
end

Instance Method Details

#runObject



16
17
18
# File 'lib/guard/unity/runner.rb', line 16

def run
  _run
end