Class: ActsAsTaggableOn::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/acts-as-taggable-on.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



33
34
35
36
37
38
39
# File 'lib/acts-as-taggable-on.rb', line 33

def initialize
  @delimiter = ','
  @force_lowercase = false
  @force_parameterize = false
  @strict_case_match = false
  @remove_unused_tags = false
end

Instance Attribute Details

#delimiterObject

Returns the value of attribute delimiter.



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

def delimiter
  @delimiter
end

#force_lowercaseObject

Returns the value of attribute force_lowercase.



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

def force_lowercase
  @force_lowercase
end

#force_parameterizeObject

Returns the value of attribute force_parameterize.



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

def force_parameterize
  @force_parameterize
end

#remove_unused_tagsObject

Returns the value of attribute remove_unused_tags.



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

def remove_unused_tags
  @remove_unused_tags
end

#strict_case_matchObject

Returns the value of attribute strict_case_match.



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

def strict_case_match
  @strict_case_match
end