Module: DeprecationToolkit::Configuration
- Defined in:
- lib/deprecation_toolkit/configuration.rb
Instance Attribute Summary collapse
-
#allowed_deprecations ⇒ Object
Returns the value of attribute allowed_deprecations.
-
#attach_to ⇒ Object
Returns the value of attribute attach_to.
-
#behavior ⇒ Object
Returns the value of attribute behavior.
-
#deprecation_file_path_format ⇒ Object
Returns the value of attribute deprecation_file_path_format.
-
#deprecation_path ⇒ Object
Returns the value of attribute deprecation_path.
-
#test_runner ⇒ Object
Returns the value of attribute test_runner.
-
#warnings_treated_as_deprecation ⇒ Object
Returns the value of attribute warnings_treated_as_deprecation.
Class Method Summary collapse
Instance Attribute Details
#allowed_deprecations ⇒ Object
Returns the value of attribute allowed_deprecations.
6 7 8 |
# File 'lib/deprecation_toolkit/configuration.rb', line 6 def allowed_deprecations @allowed_deprecations end |
#attach_to ⇒ Object
Returns the value of attribute attach_to.
9 10 11 |
# File 'lib/deprecation_toolkit/configuration.rb', line 9 def attach_to @attach_to end |
#behavior ⇒ Object
Returns the value of attribute behavior.
12 13 14 |
# File 'lib/deprecation_toolkit/configuration.rb', line 12 def behavior @behavior end |
#deprecation_file_path_format ⇒ Object
Returns the value of attribute deprecation_file_path_format.
30 31 32 |
# File 'lib/deprecation_toolkit/configuration.rb', line 30 def deprecation_file_path_format @deprecation_file_path_format end |
#deprecation_path ⇒ Object
Returns the value of attribute deprecation_path.
15 16 17 |
# File 'lib/deprecation_toolkit/configuration.rb', line 15 def deprecation_path @deprecation_path end |
#test_runner ⇒ Object
Returns the value of attribute test_runner.
18 19 20 |
# File 'lib/deprecation_toolkit/configuration.rb', line 18 def test_runner @test_runner end |
#warnings_treated_as_deprecation ⇒ Object
Returns the value of attribute warnings_treated_as_deprecation.
21 22 23 |
# File 'lib/deprecation_toolkit/configuration.rb', line 21 def warnings_treated_as_deprecation @warnings_treated_as_deprecation end |
Class Method Details
.config ⇒ Object
37 38 39 |
# File 'lib/deprecation_toolkit/configuration.rb', line 37 def config self end |
.configure {|_self| ... } ⇒ Object
33 34 35 |
# File 'lib/deprecation_toolkit/configuration.rb', line 33 def configure yield self end |