Sha256: 99afcfc0163049b32ab5024b01c11db117af6182eea1577ac97566e1250bb5b8

Contents?: true

Size: 293 Bytes

Versions: 8

Compression:

Stored size: 293 Bytes

Contents

module BrDanfe
  class Uf
    def self.include?(uf)
      uf.present? ? all.include?(uf.to_sym) : false
    end

    def self.all
      %i[
        AC AL AP AM BA CE DF ES GO MA MT MS MG PA PB PR PE PI RJ RN RS RO RR SC
        SP SE TO
      ]
    end
    private_class_method :all
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
br_danfe-0.11.1 lib/br_danfe/uf.rb
br_danfe-0.11.0 lib/br_danfe/uf.rb
br_danfe-0.10.1 lib/br_danfe/uf.rb
br_danfe-0.10.0 lib/br_danfe/uf.rb
br_danfe-0.8.0 lib/br_danfe/uf.rb
br_danfe-0.7.7 lib/br_danfe/uf.rb
br_danfe-0.7.6 lib/br_danfe/uf.rb
br_danfe-0.7.5 lib/br_danfe/uf.rb