Files

Class Index [+]

Quicksearch

Ubiquo::Extensions::UbiquoAreaController

This is a hook module to include anything to UbiquoAreaController

Public Class Methods

append_extend(klass) click to toggle source

Extends UbiquoAreaController with klass Use this instead of sending direct extends

    # File vendor/plugins/ubiquo_core/lib/ubiquo/extensions/ubiquo_area_controller.rb, line 26
26:       def self.append_extend(klass)
27:         @extend_after ||= []
28:         @extend_after << klass
29:       end
append_helper(klass) click to toggle source

Adds klass as a helper inside UbiquoAreaController Use this instead of sending direct helper calls

    # File vendor/plugins/ubiquo_core/lib/ubiquo/extensions/ubiquo_area_controller.rb, line 33
33:       def self.append_helper(klass)
34:         @helper_after ||= []
35:         @helper_after << klass
36:       end
append_include(klass) click to toggle source

Includes a klass inside UbiquoAreaController Use this instead of sending direct includes

    # File vendor/plugins/ubiquo_core/lib/ubiquo/extensions/ubiquo_area_controller.rb, line 19
19:       def self.append_include(klass)
20:         @include_after ||= []
21:         @include_after << klass
22:       end
included(klass) click to toggle source

(Not documented)

    # File vendor/plugins/ubiquo_core/lib/ubiquo/extensions/ubiquo_area_controller.rb, line 5
 5:       def self.included(klass)
 6:         if @include_after
 7:           @include_after.each{|k| klass.send(:include, k)}
 8:         end
 9:         if @extend_after
10:           @extend_after.each{|k| klass.send(:extend, k)}
11:         end
12:         if @helper_after
13:           @helper_after.each{|k| klass.send(:helper, k)}
14:         end
15:       end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.