Module: ActsAsTaggableOn

Defined in:
lib/acts-as-taggable-on.rb,
lib/acts_as_taggable_on/tag.rb,
lib/acts_as_taggable_on/utils.rb,
lib/acts_as_taggable_on/tagger.rb,
lib/acts-as-taggable-on/version.rb,
lib/acts_as_taggable_on/tagging.rb,
lib/acts_as_taggable_on/tag_list.rb,
lib/acts_as_taggable_on/taggable.rb,
lib/acts_as_taggable_on/tags_helper.rb,
lib/generators/acts_as_taggable_on/migration/migration_generator.rb

Defined Under Namespace

Modules: Taggable, Tagger, TagsHelper, Utils Classes: MigrationGenerator, Tag, TagList, Tagging

Constant Summary collapse

VERSION =
'2.3.3'
@@delimiter =
','
@@force_lowercase =
false
@@force_parameterize =
false
@@strict_case_match =
false

Class Method Summary collapse

Class Method Details

.glueObject



25
26
27
28
# File 'lib/acts-as-taggable-on.rb', line 25

def self.glue
  delimiter = @@delimiter.kind_of?(Array) ? @@delimiter[0] : @@delimiter
  delimiter.ends_with?(" ") ? delimiter : "#{delimiter} "
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



30
31
32
# File 'lib/acts-as-taggable-on.rb', line 30

def self.setup
  yield self
end