Class: Schoolmaster::Configuration
- Inherits:
-
Object
- Object
- Schoolmaster::Configuration
- Defined in:
- lib/schoolmaster/configuration.rb
Instance Attribute Summary collapse
-
#best_practices_custom_args ⇒ Object
Returns the value of attribute best_practices_custom_args.
-
#brakeman_custom_args ⇒ Object
Returns the value of attribute brakeman_custom_args.
-
#cane_custom_args ⇒ Object
Returns the value of attribute cane_custom_args.
-
#characters_per_line ⇒ Object
Returns the value of attribute characters_per_line.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#git_logger ⇒ Object
Returns the value of attribute git_logger.
-
#require_file_comments ⇒ Object
Returns the value of attribute require_file_comments.
-
#test_custom_args ⇒ Object
Returns the value of attribute test_custom_args.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/schoolmaster/configuration.rb', line 7 def initialize @require_file_comments = false @debug = false @git_logger = nil @characters_per_line = 100 @cane_custom_args = [] @best_practices_custom_args = [] @test_custom_args = [] @brakeman_custom_args = [] end |
Instance Attribute Details
#best_practices_custom_args ⇒ Object
Returns the value of attribute best_practices_custom_args.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def best_practices_custom_args @best_practices_custom_args end |
#brakeman_custom_args ⇒ Object
Returns the value of attribute brakeman_custom_args.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def brakeman_custom_args @brakeman_custom_args end |
#cane_custom_args ⇒ Object
Returns the value of attribute cane_custom_args.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def cane_custom_args @cane_custom_args end |
#characters_per_line ⇒ Object
Returns the value of attribute characters_per_line.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def characters_per_line @characters_per_line end |
#debug ⇒ Object
Returns the value of attribute debug.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def debug @debug end |
#git_logger ⇒ Object
Returns the value of attribute git_logger.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def git_logger @git_logger end |
#require_file_comments ⇒ Object
Returns the value of attribute require_file_comments.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def require_file_comments @require_file_comments end |
#test_custom_args ⇒ Object
Returns the value of attribute test_custom_args.
3 4 5 |
# File 'lib/schoolmaster/configuration.rb', line 3 def test_custom_args @test_custom_args end |