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.31.3 lib/picky/helpers/identification.rb
picky-4.31.2 lib/picky/helpers/identification.rb
picky-4.31.1 lib/picky/helpers/identification.rb
picky-4.31.0 lib/picky/helpers/identification.rb
picky-4.30.0 lib/picky/helpers/identification.rb
picky-4.29.0 lib/picky/helpers/identification.rb
picky-4.28.1 lib/picky/helpers/identification.rb
picky-4.27.1 lib/picky/helpers/identification.rb
picky-4.27.0 lib/picky/helpers/identification.rb
picky-4.26.2 lib/picky/helpers/identification.rb
picky-4.26.1 lib/picky/helpers/identification.rb
picky-4.26.0 lib/picky/helpers/identification.rb
picky-4.25.3 lib/picky/helpers/identification.rb
picky-4.25.2 lib/picky/helpers/identification.rb
picky-4.25.1 lib/picky/helpers/identification.rb
picky-4.25.0 lib/picky/helpers/identification.rb
picky-4.24.0 lib/picky/helpers/identification.rb
picky-4.23.2 lib/picky/helpers/identification.rb
picky-4.23.1 lib/picky/helpers/identification.rb
picky-4.23.0 lib/picky/helpers/identification.rb