Module: Sequel::Plugins::GenerateSlug::ClassMethods
- Defined in:
- lib/sequel/plugins/generate_slug.rb
Instance Attribute Summary collapse
-
#additional_column ⇒ Symbol
readonly
The additional column to use in slug generation if necessary.
-
#slug_column ⇒ Symbol
readonly
The column to store the generated slug.
-
#source_column ⇒ Symbol
readonly
The source column to generate the slug from.
Instance Attribute Details
#additional_column ⇒ Symbol (readonly)
Returns the additional column to use in slug generation if necessary.
51 52 53 |
# File 'lib/sequel/plugins/generate_slug.rb', line 51 def additional_column @additional_column end |
#slug_column ⇒ Symbol (readonly)
Returns the column to store the generated slug.
43 44 45 |
# File 'lib/sequel/plugins/generate_slug.rb', line 43 def slug_column @slug_column end |
#source_column ⇒ Symbol (readonly)
Returns the source column to generate the slug from.
47 48 49 |
# File 'lib/sequel/plugins/generate_slug.rb', line 47 def source_column @source_column end |