Class: RubygemsHerald::Configuration
- Inherits:
-
Object
- Object
- RubygemsHerald::Configuration
- Defined in:
- lib/rubygems_herald/configuration.rb
Instance Attribute Summary collapse
-
#gems ⇒ Object
Returns the value of attribute gems.
-
#refresh_interval ⇒ Object
Returns the value of attribute refresh_interval.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 19 |
# File 'lib/rubygems_herald/configuration.rb', line 16 def initialize self.gems = [] self.refresh_interval = '1 hour' end |
Instance Attribute Details
#gems ⇒ Object
Returns the value of attribute gems.
14 15 16 |
# File 'lib/rubygems_herald/configuration.rb', line 14 def gems @gems end |
#refresh_interval ⇒ Object
Returns the value of attribute refresh_interval.
14 15 16 |
# File 'lib/rubygems_herald/configuration.rb', line 14 def refresh_interval @refresh_interval end |