# Assuming there will be more than one method here one day, # this file is called csses_helpers.rb. # You know how CSS selectors use the octothorpe for IDs # and the dot for classes? This translates that. def css_sym_for_attribute(attribute) case attribute when 'id' '#' when 'class' '.' else raise ArgumentError end end