Class: Bgem::Config
- Inherits:
-
Object
- Object
- Bgem::Config
- Defined in:
- lib/bgem.rb
Defined Under Namespace
Classes: DSL
Instance Attribute Summary collapse
-
#entry ⇒ Object
Returns the value of attribute entry.
-
#output ⇒ Object
Returns the value of attribute output.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize(config_file) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(config_file) ⇒ Config
Returns a new instance of Config.
26 27 28 29 |
# File 'lib/bgem.rb', line 26 def initialize config_file @entry, @output, @scope = SOURCE_FILE, 'output.rb', nil DSL.new self, config_file end |
Instance Attribute Details
#entry ⇒ Object
Returns the value of attribute entry.
31 32 33 |
# File 'lib/bgem.rb', line 31 def entry @entry end |
#output ⇒ Object
Returns the value of attribute output.
31 32 33 |
# File 'lib/bgem.rb', line 31 def output @output end |
#scope ⇒ Object
Returns the value of attribute scope.
31 32 33 |
# File 'lib/bgem.rb', line 31 def scope @scope end |