class Parade::Metadata::CSSClasses

By default the CSS Class metadata parser is a catch all parser that will use all the terms and create CSS classes.

Public Instance Methods

apply(term,hash) click to toggle source
# File lib/parade/metadata/css_classes.rb, line 14
def apply(term,hash)
  (hash[:classes] ||= []) << term
  hash
end
match?(term) click to toggle source
# File lib/parade/metadata/css_classes.rb, line 10
def match?(term)
  true
end