Object
# File lib/view.rb, line 4 def self.add_to_view type, &block @views ||= {} @views[type] ||= [] @views[type] << block end
# File lib/view.rb, line 10 def self.view_additions_for type @views ||= {} @views[type] || [] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.