Class: Shoes::Mock::Star
- Inherits:
-
Object
- Object
- Shoes::Mock::Star
- Includes:
- Clickable, CommonMethods
- Defined in:
- shoes-core/lib/shoes/mock/star.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) ⇒ Star
constructor
A new instance of Star.
Methods included from Clickable
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
#app ⇒ Object (readonly)
Returns the value of attribute app.
14 15 16 |
# File 'shoes-core/lib/shoes/mock/star.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/star.rb', line 14 def dsl @dsl end |