Class: Gistory::Configuration
- Inherits:
-
Object
- Object
- Gistory::Configuration
- Defined in:
- lib/gistory/configuration.rb
Instance Attribute Summary collapse
-
#all_branches ⇒ Object
writeonly
Sets the attribute all_branches.
-
#gem_name ⇒ Object
Returns the value of attribute gem_name.
-
#max_fetched_commits ⇒ Object
Returns the value of attribute max_fetched_commits.
Instance Method Summary collapse
- #all_branches? ⇒ Boolean
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/gistory/configuration.rb', line 8 def initialize @max_fetched_commits = 100 @all_branches = false end |
Instance Attribute Details
#all_branches=(value) ⇒ Object (writeonly)
Sets the attribute all_branches
6 7 8 |
# File 'lib/gistory/configuration.rb', line 6 def all_branches=(value) @all_branches = value end |
#gem_name ⇒ Object
Returns the value of attribute gem_name.
5 6 7 |
# File 'lib/gistory/configuration.rb', line 5 def gem_name @gem_name end |
#max_fetched_commits ⇒ Object
Returns the value of attribute max_fetched_commits.
5 6 7 |
# File 'lib/gistory/configuration.rb', line 5 def max_fetched_commits @max_fetched_commits end |
Instance Method Details
#all_branches? ⇒ Boolean
13 14 15 |
# File 'lib/gistory/configuration.rb', line 13 def all_branches? @all_branches end |