Class: ThymePluginTime
- Inherits:
-
Object
- Object
- ThymePluginTime
- Defined in:
- lib/thyme_verbose/plugin_time.rb
Instance Method Summary collapse
- #after(seconds_left) ⇒ Object
-
#before ⇒ Object
Hooks.
-
#initialize(thyme, options = {}) ⇒ ThymePluginTime
constructor
A new instance of ThymePluginTime.
Constructor Details
#initialize(thyme, options = {}) ⇒ ThymePluginTime
Returns a new instance of ThymePluginTime.
3 4 |
# File 'lib/thyme_verbose/plugin_time.rb', line 3 def initialize(thyme, ={}) end |
Instance Method Details
#after(seconds_left) ⇒ Object
12 13 14 |
# File 'lib/thyme_verbose/plugin_time.rb', line 12 def after(seconds_left) show_time end |
#before ⇒ Object
Hooks
8 9 10 |
# File 'lib/thyme_verbose/plugin_time.rb', line 8 def before show_time end |