Class: Burke::GemSettings

Inherits:
Object
  • Object
show all
Defined in:
lib/burke.rb

Defined Under Namespace

Classes: IndividualGemSettings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGemSettings

Returns a new instance of GemSettings.



318
319
320
# File 'lib/burke.rb', line 318

def initialize
  @package_dir = 'pkg'
end

Instance Attribute Details

#individualsObject

Returns the value of attribute individuals.



316
317
318
# File 'lib/burke.rb', line 316

def individuals
  @individuals
end

#package_dirObject

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

Yields:

  • (conf)


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