Module: Styleus::Spacable::ClassMethods
- Defined in:
- lib/styleus/spacable.rb
Instance Method Summary collapse
Instance Method Details
#spaces(*collection) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/styleus/spacable.rb', line 6 def spaces(*collection) @spaces ||= [] return @spaces if collection.empty? @spaces.concat(collection).uniq! if collection.respond_to? :to_ary @spaces end |