Class: SpeedGun::Profiler::Manual
- Defined in:
- lib/speed_gun/profiler/manual.rb
Instance Attribute Summary collapse
-
#html ⇒ Object
readonly
Returns the value of attribute html.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Attributes inherited from Base
#backtrace, #elapsed_time, #id, #parent_profile_id
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#as_msgpack, hook_method, inherited, #initialize, #label, load, #measure, #profile, profile, profiler_type, #to_msgpack, #type
Constructor Details
This class inherits a constructor from SpeedGun::Profiler::Base
Instance Attribute Details
#html ⇒ Object (readonly)
Returns the value of attribute html.
8 9 10 |
# File 'lib/speed_gun/profiler/manual.rb', line 8 def html @html end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
8 9 10 |
# File 'lib/speed_gun/profiler/manual.rb', line 8 def title @title end |
Class Method Details
.label ⇒ Object
4 5 6 |
# File 'lib/speed_gun/profiler/manual.rb', line 4 def self.label 'Manual' end |
Instance Method Details
#before_profile(title, html = '') ⇒ Object
10 11 12 13 |
# File 'lib/speed_gun/profiler/manual.rb', line 10 def before_profile(title, html = '') @title = title @html = html end |