Class: Shoes::Mock::Slot

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

Direct Known Subclasses

Flow, Stack, Widget

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, parent) ⇒ Slot

Returns a new instance of Slot.



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

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

Instance Attribute Details

#dslObject (readonly)

Returns the value of attribute dsl.



17
18
19
# File 'shoes-core/lib/shoes/mock/slot.rb', line 17

def dsl
  @dsl
end

Instance Method Details

#removeObject



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

def remove
end