Sha256: 72dd355123d456a6711280bb8287b0d5684c693c1ee31385008afa530a5a07d2
Contents?: true
Size: 395 Bytes
Versions: 2
Compression:
Stored size: 395 Bytes
Contents
module WulffeldSlug module Slug def has_slug(fields, options = {}) class_attribute :slug_config self.slug_config = { :case => :downcase, :loop_start => 64, :blank_loop_start => 1024, :blank_generator => nil, :fields => fields }.merge(options) include WulffeldSlug::SlugInclude end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wulffeld_slug-0.0.29 | lib/wulffeld_slug/slug.rb |
wulffeld_slug-0.0.28 | lib/wulffeld_slug/slug.rb |