Class: Browserctl::PluginCommand
- Inherits:
-
Struct
- Object
- Struct
- Browserctl::PluginCommand
- Defined in:
- lib/browserctl.rb
Overview
Value object carried by the plugin registry. ‘block` is the plugin’s ‘(session, req) -> response` callable; `timeout` is the per-command wall clock in seconds (or `nil` for no timeout).
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
23 24 25 |
# File 'lib/browserctl.rb', line 23 def block @block end |
#timeout ⇒ Object
Returns the value of attribute timeout
23 24 25 |
# File 'lib/browserctl.rb', line 23 def timeout @timeout end |