Sha256: fc8ff00bc59556be53a6955625ec572bb1a021f0a1c29a8f6d5b417f5c55ad6f
Contents?: true
Size: 393 Bytes
Versions: 8
Compression:
Stored size: 393 Bytes
Contents
module Voluntary module Helpers module Language def available_language_options options = [] AVAILABLE_LANGUAGES.each do |locale, language| options << [language, locale] end options.sort_by { |o| o[0] } end def all_language_options User.languages.sort_by { |o| o[0] } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems