Class: Structurizr::REPL::Context
- Inherits:
-
Object
- Object
- Structurizr::REPL::Context
- Extended by:
- Delegation
- Defined in:
- lib/structurizr/repl.rb
Instance Attribute Summary collapse
-
#workspace ⇒ Object
readonly
Returns the value of attribute workspace.
Instance Method Summary collapse
-
#initialize(workspace) ⇒ Context
constructor
A new instance of Context.
Methods included from Delegation
Constructor Details
#initialize(workspace) ⇒ Context
Returns a new instance of Context.
29 30 31 |
# File 'lib/structurizr/repl.rb', line 29 def initialize(workspace) @workspace = workspace end |
Instance Attribute Details
#workspace ⇒ Object (readonly)
Returns the value of attribute workspace.
24 25 26 |
# File 'lib/structurizr/repl.rb', line 24 def workspace @workspace end |