Class: Guard::Test::Deprecator

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/test/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/test/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/test/deprecator.rb', line 4

def options
  @options
end

Class Method Details

.warns_about_deprecated_options(options = {}) ⇒ Object



6
7
8
# File 'lib/guard/test/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
# File 'lib/guard/test/deprecator.rb', line 14

def warns_about_deprecated_options
  _use_cmd_option
  _keep_failed_option
end