Class: Shoes::Mock::Star

Inherits:
Object
  • Object
show all
Includes:
Clickable, CommonMethods
Defined in:
shoes-core/lib/shoes/mock/star.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Clickable

#click, #release

Methods included from CommonMethods

#update_fill, #update_position, #update_stroke, #update_visibility

Constructor Details

#initialize(dsl, app) ⇒ Star

Returns a new instance of Star


9
10
11
12
# File 'shoes-core/lib/shoes/mock/star.rb', line 9

def initialize(dsl, app)
  @dsl = dsl
  @app = app
end

Instance Attribute Details

#appObject (readonly)

Returns the value of attribute app


14
15
16
# File 'shoes-core/lib/shoes/mock/star.rb', line 14

def app
  @app
end

#dslObject (readonly)

Returns the value of attribute dsl


14
15
16
# File 'shoes-core/lib/shoes/mock/star.rb', line 14

def dsl
  @dsl
end