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.
318 319 320 |
# File 'lib/burke.rb', line 318 def initialize @package_dir = 'pkg' end |
Instance Attribute Details
#individuals ⇒ Object
Returns the value of attribute individuals.
316 317 318 |
# File 'lib/burke.rb', line 316 def individuals @individuals end |
#package_dir ⇒ Object
Returns the value of attribute package_dir.
316 317 318 |
# File 'lib/burke.rb', line 316 def package_dir @package_dir end |
Instance Method Details
#platform(plaf) {|conf| ... } ⇒ Object
322 323 324 325 326 327 328 |
# File 'lib/burke.rb', line 322 def platform plaf conf = IndividualGemSettings.new plaf @individuals ||= [] @individuals << conf yield conf if block_given? conf end |