Class: Shoes::Mock::Slot
- Inherits:
-
Object
- Object
- Shoes::Mock::Slot
- Includes:
- Clickable, CommonMethods
- Defined in:
- shoes-core/lib/shoes/mock/slot.rb
Instance Attribute Summary collapse
-
#dsl ⇒ Object
readonly
Returns the value of attribute dsl.
Instance Method Summary collapse
-
#initialize(dsl, parent) ⇒ Slot
constructor
A new instance of Slot.
- #remove ⇒ Object
Methods included from Clickable
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
#dsl ⇒ Object (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
#remove ⇒ Object
14 15 |
# File 'shoes-core/lib/shoes/mock/slot.rb', line 14 def remove end |