Class: Shoes::Mock::Arrow

Inherits:
Object
  • Object
show all
Includes:
Clickable, CommonMethods
Defined in:
shoes-core/lib/shoes/mock/arrow.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, _opts = {}) ⇒ Arrow

Returns a new instance of Arrow.



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

def initialize(dsl, app, _opts = {})
  @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/arrow.rb', line 14

def app
  @app
end

#dslObject (readonly)

Returns the value of attribute dsl.



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

def dsl
  @dsl
end