Method: Vedeu::Launcher#optionally_profile

Defined in:
lib/vedeu/runtime/launcher.rb

#optionally_profilevoid (private)

This method returns an undefined value.



90
91
92
93
94
95
96
97
98
# File 'lib/vedeu/runtime/launcher.rb', line 90

def optionally_profile
  if configuration.profile?
    Vedeu.profile { yield }

  else
    yield

  end
end