Class: Magi::Configuration
- Inherits:
-
Object
- Object
- Magi::Configuration
- Defined in:
- lib/magi/configuration.rb
Instance Attribute Summary collapse
-
#workspace_path ⇒ Object
Returns the value of attribute workspace_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/magi/configuration.rb', line 5 def initialize @workspace_path = Pathname.new(ENV["WORKSPACE_PATH"] || ".") end |
Instance Attribute Details
#workspace_path ⇒ Object
Returns the value of attribute workspace_path.
3 4 5 |
# File 'lib/magi/configuration.rb', line 3 def workspace_path @workspace_path end |