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.0.rc2 lib/action_view/template/handlers/raw.rb
actionpack-4.0.4 lib/action_view/template/handlers/raw.rb
actionpack-4.0.4.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.0.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.0.beta2 lib/action_view/template/handlers/raw.rb
actionpack-4.0.3 lib/action_view/template/handlers/raw.rb
actionview-4.1.0.beta1 lib/action_view/template/handlers/raw.rb
actionpack-4.0.2 lib/action_view/template/handlers/raw.rb
actionpack-4.0.1 lib/action_view/template/handlers/raw.rb
actionpack-4.0.1.rc4 lib/action_view/template/handlers/raw.rb
actionpack-4.0.1.rc3 lib/action_view/template/handlers/raw.rb
actionpack-4.0.1.rc2 lib/action_view/template/handlers/raw.rb
actionpack-4.0.1.rc1 lib/action_view/template/handlers/raw.rb
challah-1.0.0 vendor/bundle/gems/actionpack-4.0.0/lib/action_view/template/handlers/raw.rb
actionpack-4.0.0 lib/action_view/template/handlers/raw.rb
actionpack-4.0.0.rc2 lib/action_view/template/handlers/raw.rb
actionpack-4.0.0.rc1 lib/action_view/template/handlers/raw.rb
actionpack-4.0.0.beta1 lib/action_view/template/handlers/raw.rb