Sha256: 1f6f3ebce8cdebf7870107c261699d1a3d1d898b64c128240a17e3ea13a841a6

Contents?: true

Size: 195 Bytes

Versions: 78

Compression:

Stored size: 195 Bytes

Contents

module ActionView
  module Template::Handlers
    class Raw
      def call(template)
        escaped = template.source.gsub(':', '\:')

        '%q:' + escaped + ':;'
      end
    end
  end
end

Version data entries

78 entries across 78 versions & 5 rubygems

Version Path
actionview-4.1.16 lib/action_view/template/handlers/raw.rb
actionview-4.1.16.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.15 lib/action_view/template/handlers/raw.rb
actionview-4.1.15.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.14.2 lib/action_view/template/handlers/raw.rb
actionview-4.1.14.1 lib/action_view/template/handlers/raw.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/actionview-4.1.13/lib/action_view/template/handlers/raw.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/actionview-4.1.13/lib/action_view/template/handlers/raw.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/actionview-4.1.13/lib/action_view/template/handlers/raw.rb
actionview-4.1.14 lib/action_view/template/handlers/raw.rb
actionview-4.1.14.rc2 lib/action_view/template/handlers/raw.rb
actionview-4.1.14.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.13 lib/action_view/template/handlers/raw.rb
actionview-4.1.13.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.12 lib/action_view/template/handlers/raw.rb
actionview-4.1.12.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.11 lib/action_view/template/handlers/raw.rb
actionview-4.1.10 lib/action_view/template/handlers/raw.rb
actionview-4.1.10.rc4 lib/action_view/template/handlers/raw.rb
actionview-4.1.10.rc3 lib/action_view/template/handlers/raw.rb