Sha256: 4ff739c5d47d1f5b676de99b1f156cae5e5a09a15fbf2425e0d2eb98170cd163

Contents?: true

Size: 369 Bytes

Versions: 16

Compression:

Stored size: 369 Bytes

Contents

# encoding: utf-8

require "rango/settings"

module Rango
  module Settings
    class Erubis < Settings
      # @since 0.0.2
      hattribute :pattern, "<% %>" # can be string or regexp

      # @since 0.0.2
      hattribute :custom_class # use your own class instead of Erubis::Eruby. Don't forget that you must include (TODO: what) for autoescaping
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rango-0.1.1.2.11 lib/rango/settings/erubis.rb
rango-0.1.1.2.10 lib/rango/settings/erubis.rb
rango-0.1.1.2.9 lib/rango/settings/erubis.rb
rango-0.1.1.2.8 lib/rango/settings/erubis.rb
rango-0.1.1.2.7 lib/rango/settings/erubis.rb
rango-0.1.1.2.6 lib/rango/settings/erubis.rb
rango-0.1.1.2.5 lib/rango/settings/erubis.rb
rango-0.1.1.2.4 lib/rango/settings/erubis.rb
rango-0.1.1.2.3 lib/rango/settings/erubis.rb
rango-0.1.1.2.2 lib/rango/settings/erubis.rb
rango-0.1.1.2.1 lib/rango/settings/erubis.rb
rango-0.1.1.2 lib/rango/settings/erubis.rb
rango-0.1.1.1 lib/rango/settings/erubis.rb
rango-0.1.1 lib/rango/settings/erubis.rb
rango-0.1.0 lib/rango/settings/erubis.rb
rango-0.0.6 lib/rango/settings/erubis.rb