Method: AntiSamy::Attribute#initialize
- Defined in:
- lib/antisamy/model/attribute.rb
#initialize(name) ⇒ Attribute
Create a new attribute
11 12 13 14 15 16 17 |
# File 'lib/antisamy/model/attribute.rb', line 11 def initialize(name) @name = name @description = nil @action = nil @values = [] @expressions = [] end |