Class: Webdrone::Mark
- Inherits:
-
Object
- Object
- Webdrone::Mark
- Defined in:
- lib/webdrone/mark.rb
Instance Attribute Summary collapse
-
#a0 ⇒ Object
Returns the value of attribute a0.
Instance Method Summary collapse
-
#initialize(a0) ⇒ Mark
constructor
A new instance of Mark.
- #mark_item(item, color: '#af1616', times: 3, sleep: 0.05) ⇒ Object
Constructor Details
#initialize(a0) ⇒ Mark
Returns a new instance of Mark.
11 12 13 |
# File 'lib/webdrone/mark.rb', line 11 def initialize(a0) @a0 = a0 end |
Instance Attribute Details
#a0 ⇒ Object
Returns the value of attribute a0.
9 10 11 |
# File 'lib/webdrone/mark.rb', line 9 def a0 @a0 end |
Instance Method Details
#mark_item(item, color: '#af1616', times: 3, sleep: 0.05) ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/webdrone/mark.rb', line 30 def mark_item(item, color: '#af1616', times: 3, sleep: 0.05) times.times do mark_item_border item, 'white' sleep sleep mark_item_border item, 'black' sleep sleep mark_item_border item, color sleep sleep end item end |