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.10.rc2 lib/action_view/template/handlers/raw.rb
actionview-4.1.10.rc1 lib/action_view/template/handlers/raw.rb
actionpack-4.0.13 lib/action_view/template/handlers/raw.rb
actionview-4.1.9 lib/action_view/template/handlers/raw.rb
actionview-4.1.9.rc1 lib/action_view/template/handlers/raw.rb
actionpack-4.0.13.rc1 lib/action_view/template/handlers/raw.rb
actionview-4.1.7.1 lib/action_view/template/handlers/raw.rb
actionpack-4.0.11.1 lib/action_view/template/handlers/raw.rb
actionview-4.1.8 lib/action_view/template/handlers/raw.rb
actionpack-4.0.12 lib/action_view/template/handlers/raw.rb
actionview-4.2.0.beta4 lib/action_view/template/handlers/raw.rb
actionview-4.2.0.beta3 lib/action_view/template/handlers/raw.rb
actionview-4.1.7 lib/action_view/template/handlers/raw.rb
actionpack-4.0.11 lib/action_view/template/handlers/raw.rb
actionview-4.2.0.beta2 lib/action_view/template/handlers/raw.rb
nanumfont-rails-0.1 vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers/raw.rb
actionpack-4.0.10 lib/action_view/template/handlers/raw.rb
actionview-4.1.6 lib/action_view/template/handlers/raw.rb
actionview-4.1.6.rc2 lib/action_view/template/handlers/raw.rb
actionpack-4.0.10.rc2 lib/action_view/template/handlers/raw.rb