module Myco::DEV
Public Class Methods
profile(show=true, &block)
click to toggle source
# File lib/myco/dev/profile.rb, line 4 def self.profile(show=true, &block) require 'rubinius/profiler' prof = Rubinius::Profiler::Instrumenter.new prof.profile &block prof.show if show prof end