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.



274
275
276
# File 'lib/burke.rb', line 274

def initialize
  @package_dir = 'pkg'
end

Instance Attribute Details

#individualsObject

Returns the value of attribute individuals.



272
273
274
# File 'lib/burke.rb', line 272

def individuals
  @individuals
end

#package_dirObject

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

Yields:

  • (conf)


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