Sha256: ad3d9fce764c4271da8406d9c80d0d65d321afb06f56b206f558a665aa79e433
Contents?: true
Size: 299 Bytes
Versions: 1
Compression:
Stored size: 299 Bytes
Contents
module SectionsRails require 'action_view' require "sections_rails/section" require "sections_rails/railtie" if defined?(Rails) def section name, options = {}, &block SectionsRails::Section.new(name, self, options).render &block end end ActionView::Base.send :include, SectionsRails
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sections_rails-0.7.1 | lib/sections_rails.rb |