Class: SassProf::ExtProfiler
Constant Summary
Constants inherited
from Profiler
Profiler::PERFORMABLE_ACTIONS
Instance Method Summary
collapse
Methods inherited from Profiler
#start, #stop
Constructor Details
#initialize(subject, action, args = nil, env = nil) ⇒ ExtProfiler
Returns a new instance of ExtProfiler.
4
5
6
|
# File 'lib/sass-prof/ext_profiler.rb', line 4
def initialize(subject, action, args = nil, env = nil)
super subject, action, args, env
end
|
Instance Method Details
#args ⇒ Object
12
13
14
|
# File 'lib/sass-prof/ext_profiler.rb', line 12
def args
@subject.members.join ", "
end
|
#name ⇒ Object
8
9
10
|
# File 'lib/sass-prof/ext_profiler.rb', line 8
def name
@env.members.join(", ").tr "\n", ""
end
|