Sha256: 15108a41e6c2ac5679f3527b3a3bc9bea1f829edbcde13144eafc051b67665d5

Contents?: true

Size: 366 Bytes

Versions: 69

Compression:

Stored size: 366 Bytes

Contents

module Picky

  module Helpers
    
    module Identification
      
      def identifier_for index_name = nil, category_name = nil
        specifics = ""
        specifics << index_name.to_s if index_name
        specifics << ":#{category_name}" if category_name
        specifics = "for #{specifics} " unless specifics.empty?
      end
    
    end
    
  end

end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
picky-4.11.0 lib/picky/helpers/identification.rb
picky-4.10.0 lib/picky/helpers/identification.rb
picky-4.9.0 lib/picky/helpers/identification.rb
picky-4.8.1 lib/picky/helpers/identification.rb
picky-4.8.0 lib/picky/helpers/identification.rb
picky-4.7.0 lib/picky/helpers/identification.rb
picky-4.6.6 lib/picky/helpers/identification.rb
picky-4.6.5 lib/picky/helpers/identification.rb
picky-4.6.4 lib/picky/helpers/identification.rb