Module: Sequel::Plugins::GenerateSlug::ClassMethods

Defined in:
lib/sequel/plugins/generate_slug.rb

Instance Attribute Summary collapse

Instance Attribute Details

#additional_columnSymbol (readonly)

Returns the additional column to use in slug generation if necessary.

Returns:

  • (Symbol)

    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_columnSymbol (readonly)

Returns the column to store the generated slug.

Returns:

  • (Symbol)

    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_columnSymbol (readonly)

Returns the source column to generate the slug from.

Returns:

  • (Symbol)

    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