Module: Rack::Mount::Generation::Optimizations

Defined in:
lib/rack/mount/generation/optimizations.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#freezeObject



5
6
7
8
# File 'lib/rack/mount/generation/optimizations.rb', line 5

def freeze
  optimize_call! unless frozen?
  super
end

#instance_eval(*args) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/rack/mount/generation/optimizations.rb', line 11

def instance_eval(*args)
  puts
  puts "#{args[1]}##{args[2]}"
  puts args[0]
  puts

  super
end