Class: Gemsconfig::Config
- Inherits:
-
Object
- Object
- Gemsconfig::Config
- Defined in:
- lib/gemsconfig/config.rb
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
Instance Method Summary collapse
- #gem(name, opts = {}) ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 |
# File 'lib/gemsconfig/config.rb', line 9 def initialize @entries = [] end |
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
7 8 9 |
# File 'lib/gemsconfig/config.rb', line 7 def entries @entries end |