Class: Karafka::Routing::Builder
- Inherits:
-
Array
- Object
- Array
- Karafka::Routing::Builder
- Includes:
- Builder
- Defined in:
- lib/deimos/ext/redraw.rb
Instance Method Summary collapse
Methods included from Builder
Instance Method Details
#array_clear ⇒ Object
6 |
# File 'lib/deimos/ext/redraw.rb', line 6 alias array_clear clear |
#clear ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/deimos/ext/redraw.rb', line 8 def clear @mutex.synchronize do @defaults = EMPTY_DEFAULTS @draws.clear array_clear end end |
#redraw(&block) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/deimos/ext/redraw.rb', line 16 def redraw(&block) @mutex.synchronize do @draws.clear array_clear end draw(&block) end |