Sha256: adf1a4db9c8a5a702d408e617357b5f7b1c103b35fbc6e90159e170ce967b1ee

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

# encoding: utf-8

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

2 entries across 2 versions & 1 rubygems

Version Path
rango-0.1.pre lib/rango/settings/erubis.rb
rango-0.0.4 lib/rango/settings/erubis.rb