Class: Shoes::Mock::Rect
- Inherits:
-
Object
- Object
- Shoes::Mock::Rect
- Includes:
- Clickable, CommonMethods
- Defined in:
- shoes-core/lib/shoes/mock/rect.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#dsl ⇒ Object
readonly
Returns the value of attribute dsl.
Instance Method Summary collapse
-
#initialize(dsl, app, _opts = {}) ⇒ Rect
constructor
A new instance of Rect.
Methods included from Clickable
Methods included from CommonMethods
#update_fill, #update_position, #update_stroke, #update_visibility
Constructor Details
#initialize(dsl, app, _opts = {}) ⇒ Rect
Returns a new instance of Rect.
9 10 11 12 |
# File 'shoes-core/lib/shoes/mock/rect.rb', line 9 def initialize(dsl, app, _opts = {}) @dsl = dsl @app = app end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
14 15 16 |
# File 'shoes-core/lib/shoes/mock/rect.rb', line 14 def app @app end |
#dsl ⇒ Object (readonly)
Returns the value of attribute dsl.
14 15 16 |
# File 'shoes-core/lib/shoes/mock/rect.rb', line 14 def dsl @dsl end |