Class: Schoolmaster::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/schoolmaster/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_argsObject

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_argsObject

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_argsObject

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_lineObject

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

#debugObject

Returns the value of attribute debug.



3
4
5
# File 'lib/schoolmaster/configuration.rb', line 3

def debug
  @debug
end

#git_loggerObject

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_commentsObject

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_argsObject

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