Module: Bcome::Context
- Included in:
- Node::Base
- Defined in:
- lib/objects/modules/context.rb
Instance Method Summary collapse
- #irb_workspace=(workspace) ⇒ Object
- #is_current_context? ⇒ Boolean
- #previous_irb_workspace=(workspace) ⇒ Object
Instance Method Details
#irb_workspace=(workspace) ⇒ Object
6 7 8 |
# File 'lib/objects/modules/context.rb', line 6 def irb_workspace=(workspace) @irb_workspace = workspace end |
#is_current_context? ⇒ Boolean
2 3 4 |
# File 'lib/objects/modules/context.rb', line 2 def is_current_context? ::Bcome::Workspace.instance.object_is_current_context?(self) end |
#previous_irb_workspace=(workspace) ⇒ Object
10 11 12 |
# File 'lib/objects/modules/context.rb', line 10 def previous_irb_workspace=(workspace) @previous_workspace = workspace end |