Class: JLDrill::Test::CommandView
- Inherits:
-
RunCommandContext::CommandView
- Object
- Context::View
- RunCommandContext::CommandView
- JLDrill::Test::CommandView
- Defined in:
- lib/jldrill/views/test/CommandView.rb
Instance Attribute Summary collapse
-
#updated ⇒ Object
readonly
Returns the value of attribute updated.
Attributes inherited from Context::View
Instance Method Summary collapse
-
#initialize(context) ⇒ CommandView
constructor
A new instance of CommandView.
- #update ⇒ Object
Methods inherited from Context::View
#addView, #getWidget, #removeView, #removingViewFrom, #viewAddedTo
Constructor Details
#initialize(context) ⇒ CommandView
Returns a new instance of CommandView.
10 11 12 13 |
# File 'lib/jldrill/views/test/CommandView.rb', line 10 def initialize(context) super(context) @updated = false end |
Instance Attribute Details
#updated ⇒ Object (readonly)
Returns the value of attribute updated.
8 9 10 |
# File 'lib/jldrill/views/test/CommandView.rb', line 8 def updated @updated end |
Instance Method Details
#update ⇒ Object
15 16 17 |
# File 'lib/jldrill/views/test/CommandView.rb', line 15 def update @updated = true end |