lib/onoma/nomenclature.rb
# Returns a list for select, without specified items
Returns a list for select, without specified items
Returns a list for select without specified items
def select_without(already_imported)
      ActiveSupport::Deprecation.warn 'Nomen::Nomenclature#select_without method is deprecated. Please use Nomen::Nomenclature#without method instead.'
      select_options = @items.values.collect do |item|
        [item.human_name, item.name.to_s] unless already_imported[item.name.to_s]
      end
      select_options.compact!
      select_options.sort! do |a, b|
        a.first <=> b.first
      end
      select_options
    end
def select_without ( already_imported ) ActiveSupport :: Deprecation . warn 'Nomen::Nomenclature#select_without method is deprecated. Please use Nomen::Nomenclature#without method instead.' select_options = @items . values . collect do | item | [ item . human_name , item . name . to_s ] unless already_imported [ item . name . to_s ] end select_options . compact! select_options . sort! do | a , b | a . first <=> b . first end select_options end
Returns a list for select, without specified items
Returns a list for select without specified items
already_imported
<not_specific>