Sha256: 111e524f421201d5b5586ed8605b150507d656d292307c70a7e4ae30c4702d1d

Contents?: true

Size: 239 Bytes

Versions: 7

Compression:

Stored size: 239 Bytes

Contents

module InlineTemplates
  module Helpers
    extend ActiveSupport::Concern
    
    def rit(locals = {}, &block)
      InlineTemplates.render(view_context, {}, locals, &block)
    end

    included do
      protected :rit
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
inline_templates-1.0.0 lib/inline_templates/helpers.rb
inline_templates-0.0.6 lib/inline_templates/helpers.rb
inline_templates-0.0.5 lib/inline_templates/helpers.rb
inline_templates-0.0.4 lib/inline_templates/helpers.rb
inline_templates-0.0.3 lib/inline_templates/helpers.rb
inline_templates-0.0.2 lib/inline_templates/helpers.rb
inline_templates-0.0.1 lib/inline_templates/helpers.rb