Sha256: e7954087172ce5dbdce79c8059f2ce8a2e1a1a1cea886c81d071cd17bdfa4c7b

Contents?: true

Size: 393 Bytes

Versions: 69

Compression:

Stored size: 393 Bytes

Contents

module ActionView #:nodoc:
  class InlineTemplate #:nodoc:
    include Renderable

    attr_reader :source, :extension, :method_segment

    def initialize(source, type = nil)
      @source = source
      @extension = type
      @method_segment = "inline_#{@source.hash.abs}"
    end

    private
      # Always recompile inline templates
      def recompile?
        true
      end
  end
end

Version data entries

69 entries across 68 versions & 14 rubygems

Version Path
actionpack-2.3.18 lib/action_view/inline_template.rb
actionpack_csi-2.3.5.p8 lib/action_view/inline_template.rb
actionpack-2.3.17-rack-upgrade-2.3.17 lib/action_view/inline_template.rb
actionpack-2.3.17 lib/action_view/inline_template.rb
actionpack_csi-2.3.5.p7 lib/action_view/inline_template.rb
actionpack_csi-2.3.5.p6 lib/action_view/inline_template.rb
actionpack-2.3.16 lib/action_view/inline_template.rb
actionpack-rack-upgrade-2-2.3.16 lib/action_view/inline_template.rb
actionpack-rack-upgrade-2-2.3.15 lib/action_view/inline_template.rb
actionpack-2.3.15 lib/action_view/inline_template.rb
actionpack-rack-upgrade-2.3.16 lib/action_view/inline_template.rb
actionpack-rack-upgrade-2.3.15 lib/action_view/inline_template.rb
actionpack-rack-upgrade-2.3.14 lib/action_view/inline_template.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/inline_template.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/actionpack-2.3.12/lib/action_view/inline_template.rb
actionpack-2.3.14 lib/action_view/inline_template.rb
kajam-1.0.3.rc2 vendor/rails/actionpack/lib/action_view/inline_template.rb
actionpack-2.3.12 lib/action_view/inline_template.rb
radiant-1.0.0.rc2 vendor/rails/actionpack/lib/action_view/inline_template.rb
radiant-1.0.0.rc1 vendor/rails/actionpack/lib/action_view/inline_template.rb