Class: Burke::GemSettings
- Inherits:
-
Object
- Object
- Burke::GemSettings
- Defined in:
- lib/burke.rb
Defined Under Namespace
Classes: IndividualGemSettings
Instance Attribute Summary collapse
-
#individuals ⇒ Object
Returns the value of attribute individuals.
-
#package_dir ⇒ Object
Returns the value of attribute package_dir.
Instance Method Summary collapse
-
#initialize ⇒ GemSettings
constructor
A new instance of GemSettings.
- #platform(plaf) {|conf| ... } ⇒ Object
Constructor Details
#initialize ⇒ GemSettings
Returns a new instance of GemSettings.
274 275 276 |
# File 'lib/burke.rb', line 274 def initialize @package_dir = 'pkg' end |
Instance Attribute Details
#individuals ⇒ Object
Returns the value of attribute individuals.
272 273 274 |
# File 'lib/burke.rb', line 272 def individuals @individuals end |
#package_dir ⇒ Object
Returns the value of attribute package_dir.
272 273 274 |
# File 'lib/burke.rb', line 272 def package_dir @package_dir end |
Instance Method Details
#platform(plaf) {|conf| ... } ⇒ Object
278 279 280 281 282 283 284 |
# File 'lib/burke.rb', line 278 def platform plaf conf = IndividualGemSettings.new plaf @individuals ||= [] @individuals << conf yield conf if block_given? conf end |