Class: Bgem::Config

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

Defined Under Namespace

Classes: DSL

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config_file) ⇒ Config

Returns a new instance of Config.



41
42
43
44
# File 'lib/bgem.rb', line 41

def initialize config_file
  @entry, @output, @scope = SOURCE_FILE, 'output.rb', nil
  DSL.new self, config_file
end

Instance Attribute Details

#entryObject

Returns the value of attribute entry.



46
47
48
# File 'lib/bgem.rb', line 46

def entry
  @entry
end

#outputObject

Returns the value of attribute output.



46
47
48
# File 'lib/bgem.rb', line 46

def output
  @output
end

#scopeObject

Returns the value of attribute scope.



46
47
48
# File 'lib/bgem.rb', line 46

def scope
  @scope
end