Module: ChangeLog::Config
- Defined in:
- lib/change_log/config.rb
Class Attribute Summary collapse
-
.commit_prefix ⇒ Object
commit message prefix.
-
.layout ⇒ Object
layout name default applocation.
-
.orm ⇒ Object
Returns the value of attribute orm.
-
.table_prefix ⇒ Object
Table prefix to avoid collision.
-
.tag_filter_enabled ⇒ Object
Returns the value of attribute tag_filter_enabled.
-
.tag_prefix ⇒ Object
Returns the value of attribute tag_prefix.
Class Method Summary collapse
Class Attribute Details
.commit_prefix ⇒ Object
commit message prefix
13 14 15 |
# File 'lib/change_log/config.rb', line 13 def commit_prefix @commit_prefix end |
.layout ⇒ Object
layout name default applocation
10 11 12 |
# File 'lib/change_log/config.rb', line 10 def layout @layout end |
.orm ⇒ Object
Returns the value of attribute orm.
15 16 17 |
# File 'lib/change_log/config.rb', line 15 def orm @orm end |
.table_prefix ⇒ Object
Table prefix to avoid collision
7 8 9 |
# File 'lib/change_log/config.rb', line 7 def table_prefix @table_prefix end |
.tag_filter_enabled ⇒ Object
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_prefix ⇒ Object
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
.reset ⇒ Object
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 |