Class: JLDrill::Test::CommandView

Inherits:
RunCommandContext::CommandView show all
Defined in:
lib/jldrill/views/test/CommandView.rb

Instance Attribute Summary collapse

Attributes inherited from Context::View

#context

Instance Method Summary collapse

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

#updatedObject (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

#updateObject



15
16
17
# File 'lib/jldrill/views/test/CommandView.rb', line 15

def update
    @updated = true
end