Class: Vernier::Output::Cpuprofile
- Inherits:
-
Object
- Object
- Vernier::Output::Cpuprofile
- Defined in:
- lib/vernier/output/cpuprofile.rb
Instance Method Summary collapse
-
#initialize(profile) ⇒ Cpuprofile
constructor
A new instance of Cpuprofile.
- #output ⇒ Object
Constructor Details
#initialize(profile) ⇒ Cpuprofile
6 7 8 |
# File 'lib/vernier/output/cpuprofile.rb', line 6 def initialize(profile) @profile = profile end |
Instance Method Details
#output ⇒ Object
10 11 12 |
# File 'lib/vernier/output/cpuprofile.rb', line 10 def output JSON.generate(data) end |