class ThymePluginTime
Public Class Methods
new(thyme, options={})
click to toggle source
# File lib/thyme_verbose/plugin_time.rb, line 3 def initialize(thyme, options={}) end
Public Instance Methods
after(seconds_left)
click to toggle source
# File lib/thyme_verbose/plugin_time.rb, line 12 def after(seconds_left) show_time end
before()
click to toggle source
Hooks
# File lib/thyme_verbose/plugin_time.rb, line 8 def before show_time end
Private Instance Methods
show_time()
click to toggle source
# File lib/thyme_verbose/plugin_time.rb, line 18 def show_time caption = 'TIME: ' + Time.now.to_s puts caption + ' ' * (50 - caption.length) end