Class: JLDrill::Test::AboutView

Inherits:
ShowAboutContext::AboutView show all
Defined in:
lib/jldrill/views/test/AboutView.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, about) ⇒ AboutView

Returns a new instance of AboutView.



8
9
10
11
12
# File 'lib/jldrill/views/test/AboutView.rb', line 8

def initialize(context, about)
	super(context)
	@about = about
          @hasRun = false
end

Instance Attribute Details

#aboutObject (readonly)

Returns the value of attribute about.



6
7
8
# File 'lib/jldrill/views/test/AboutView.rb', line 6

def about
  @about
end

#hasRunObject (readonly)

Returns the value of attribute hasRun.



6
7
8
# File 'lib/jldrill/views/test/AboutView.rb', line 6

def hasRun
  @hasRun
end

Instance Method Details

#runObject



14
15
16
# File 'lib/jldrill/views/test/AboutView.rb', line 14

def run
          @hasRun = true
end