Sha256: a42f834c126ce637d830e33c37a0b894268472c6b04582afe36e169844199a63

Contents?: true

Size: 246 Bytes

Versions: 3

Compression:

Stored size: 246 Bytes

Contents

module CodiceFiscale
  module Alphabet
    extend self

    def vocals
      %w[A E I O U]
    end

    def consonants
      letters - vocals
    end

    def letters
      %w[A B C D E F G H I J K L M N O P Q R S T U V W X Y Z]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
codice-fiscale-0.0.4 lib/codice_fiscale/alphabet.rb
codice-fiscale-0.0.3 lib/codice_fiscale/alphabet.rb
codice-fiscale-0.0.2 lib/codice_fiscale/alphabet.rb