Class: Baha::Workspace
- Inherits:
-
Object
- Object
- Baha::Workspace
- Defined in:
- lib/baha/workspace.rb
Instance Attribute Summary collapse
-
#directory ⇒ Object
readonly
Returns the value of attribute directory.
Instance Method Summary collapse
-
#initialize(options) ⇒ Workspace
constructor
A new instance of Workspace.
Constructor Details
#initialize(options) ⇒ Workspace
Returns a new instance of Workspace.
7 8 9 10 11 |
# File 'lib/baha/workspace.rb', line 7 def initialize() @options = {} @options.merge!() @directory = @options['directory'] || Dir.pwd end |
Instance Attribute Details
#directory ⇒ Object (readonly)
Returns the value of attribute directory.
5 6 7 |
# File 'lib/baha/workspace.rb', line 5 def directory @directory end |