Class: Shoes::Mock::Progress
- Inherits:
-
Object
- Object
- Shoes::Mock::Progress
- Includes:
- CommonMethods
- Defined in:
- shoes-core/lib/shoes/mock/progress.rb
Instance Method Summary collapse
- #fraction=(_fraction) ⇒ Object
-
#initialize(*_) ⇒ Progress
constructor
A new instance of Progress.
Methods included from CommonMethods
#update_fill, #update_position, #update_stroke, #update_visibility
Constructor Details
#initialize(*_) ⇒ Progress
Returns a new instance of Progress.
8 9 10 11 12 |
# File 'shoes-core/lib/shoes/mock/progress.rb', line 8 def initialize(*_) # SWT backend sets a size, so mimic that in the mock super @dsl.width ||= 140 end |
Instance Method Details
#fraction=(_fraction) ⇒ Object
14 15 |
# File 'shoes-core/lib/shoes/mock/progress.rb', line 14 def fraction=(_fraction) end |