Module: ChangeLog::Config

Defined in:
lib/change_log/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.commit_prefixObject

commit message prefix



13
14
15
# File 'lib/change_log/config.rb', line 13

def commit_prefix
  @commit_prefix
end

.layoutObject

layout name default applocation



10
11
12
# File 'lib/change_log/config.rb', line 10

def layout
  @layout
end

.ormObject

Returns the value of attribute orm.



15
16
17
# File 'lib/change_log/config.rb', line 15

def orm
  @orm
end

.table_prefixObject

Table prefix to avoid collision



7
8
9
# File 'lib/change_log/config.rb', line 7

def table_prefix
  @table_prefix
end

.tag_filter_enabledObject

Returns the value of attribute tag_filter_enabled.



19
20
21
# File 'lib/change_log/config.rb', line 19

def tag_filter_enabled
  @tag_filter_enabled
end

.tag_prefixObject

Returns the value of attribute tag_prefix.



17
18
19
# File 'lib/change_log/config.rb', line 17

def tag_prefix
  @tag_prefix
end

Class Method Details

.resetObject



21
22
23
24
25
26
27
# File 'lib/change_log/config.rb', line 21

def reset
  @layout = 'change_log/application'
  @table_prefix = nil
  @commit_prefix = '~~~'
  @tag_prefix = '~~'
  @tag_filter_enabled = true
end