Class: Wurk::Collapse::Policy
- Inherits:
-
Struct
- Object
- Struct
- Wurk::Collapse::Policy
- Defined in:
- lib/wurk/collapse.rb
Overview
A parsed declaration: the policy's name, plus the keyword arguments its
module takes, ready to splat into Debounce.schedule or
Throttle.admit. Parsing straight into the callee's own keywords is
what stops this file from growing a second opinion about what wait means.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
64 65 66 |
# File 'lib/wurk/collapse.rb', line 64 def name @name end |
#params ⇒ Object
Returns the value of attribute params
64 65 66 |
# File 'lib/wurk/collapse.rb', line 64 def params @params end |