Module: PagesCore::ProcessTitler
- Extended by:
- ActiveSupport::Concern
- Included in:
- BaseController
- Defined in:
- app/controllers/concerns/pages_core/process_titler.rb
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.number_of_requests ⇒ Object
25 26 27 |
# File 'app/controllers/concerns/pages_core/process_titler.rb', line 25 def number_of_requests @number_of_requests ||= 0 end |
Class Method Details
.inc_number_of_requests {|@number_of_requests| ... } ⇒ Object
19 20 21 22 23 |
# File 'app/controllers/concerns/pages_core/process_titler.rb', line 19 def inc_number_of_requests @number_of_requests ||= 0 @number_of_requests += 1 yield @number_of_requests end |
.original_title ⇒ Object
15 16 17 |
# File 'app/controllers/concerns/pages_core/process_titler.rb', line 15 def original_title @original_title ||= $PROGRAM_NAME end |