Sha256: 5a749b518294e86eeb42d2195c96f8813bc88e24bbcb78af015cb7909607d395
Contents?: true
Size: 224 Bytes
Versions: 2
Compression:
Stored size: 224 Bytes
Contents
# frozen_string_literal: true module Sort module DescriptionForHelper def sort_description_for(attribute) "sort by '#{attribute}' in #{next_sort_direction_for(attribute, format: :long)} order" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
actionset-0.4.2 | lib/action_set/helpers/sort/description_for_helper.rb |
actionset-0.4.1 | lib/action_set/helpers/sort/description_for_helper.rb |