Method: RsyncConfig::Propertiable::ClassMethods#allow_properties
- Defined in:
- lib/rsync_config/propertiable.rb
#allow_properties(*properties) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/rsync_config/propertiable.rb', line 11 def allow_properties *properties properties.each do |property| property = property.to_s if property.is_a? Symbol property = property.downcase.strip.gsub(/_/, ' ') allowed_properties.push property end end |