Class: Guard::RSpec::Deprecator

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/rspec/deprecator.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Deprecator

Returns a new instance of Deprecator.



10
11
12
# File 'lib/guard/rspec/deprecator.rb', line 10

def initialize(options = {})
  @options = options
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/guard/rspec/deprecator.rb', line 4

def options
  @options
end

Class Method Details

.warns_about_deprecated_options(options = {}) ⇒ Object



6
7
8
# File 'lib/guard/rspec/deprecator.rb', line 6

def self.warns_about_deprecated_options(options = {})
  new(options).warns_about_deprecated_options
end

Instance Method Details

#warns_about_deprecated_optionsObject



14
15
16
17
18
19
20
21
# File 'lib/guard/rspec/deprecator.rb', line 14

def warns_about_deprecated_options
  _spec_opts_env
  _version_option
  _exclude_option
  _use_cmd_option
  _keep_failed_option
  _focus_on_failed_option
end