Sha256: 22c56cf6db753b78ffe71bcdd10a590b97f4cb6fd36b2980472f9aaf8c3dae5b

Contents?: true

Size: 320 Bytes

Versions: 28

Compression:

Stored size: 320 Bytes

Contents

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

    def self.all
      [: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

28 entries across 28 versions & 1 rubygems

Version Path
br_danfe-1.0.0 lib/br_danfe/uf.rb
br_danfe-0.20.0 lib/br_danfe/uf.rb
br_danfe-0.19.0 lib/br_danfe/uf.rb
br_danfe-0.18.0 lib/br_danfe/uf.rb
br_danfe-0.17.8 lib/br_danfe/uf.rb
br_danfe-0.17.7 lib/br_danfe/uf.rb
br_danfe-0.17.6 lib/br_danfe/uf.rb
br_danfe-0.17.5 lib/br_danfe/uf.rb
br_danfe-0.17.4 lib/br_danfe/uf.rb
br_danfe-0.17.3 lib/br_danfe/uf.rb
br_danfe-0.17.2 lib/br_danfe/uf.rb
br_danfe-0.17.1 lib/br_danfe/uf.rb
br_danfe-0.17.0 lib/br_danfe/uf.rb
br_danfe-0.16.0 lib/br_danfe/uf.rb
br_danfe-0.15.1 lib/br_danfe/uf.rb
br_danfe-0.15.0 lib/br_danfe/uf.rb
br_danfe-0.14.5 lib/br_danfe/uf.rb
br_danfe-0.14.4 lib/br_danfe/uf.rb
br_danfe-0.14.3 lib/br_danfe/uf.rb
br_danfe-0.14.2 lib/br_danfe/uf.rb