Class: Dev::Coverage::None

Inherits:
Base show all
Defined in:
lib/firespring_dev_commands/coverage/none.rb

Overview

Class which provides methods to effectvely skip coverage

Instance Method Summary collapse

Constructor Details

#initializeNone

Returns a new instance of None.



6
7
8
# File 'lib/firespring_dev_commands/coverage/none.rb', line 6

def initialize(*)
  super()
end

Instance Method Details

#checkObject

Checks the code coverage against the defined threshold



16
17
18
# File 'lib/firespring_dev_commands/coverage/none.rb', line 16

def check(*)
  puts 'Coverage not configured'
end

#php_optionsObject

Returns the php options for generating code coverage file



11
12
13
# File 'lib/firespring_dev_commands/coverage/none.rb', line 11

def php_options
  []
end