Class: BrDanfe::Uf

Inherits:
Object
  • Object
show all
Defined in:
lib/br_danfe/uf.rb

Class Method Summary collapse

Class Method Details

.include?(uf) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/br_danfe/uf.rb', line 3

def self.include?(uf)
  uf.present? ? all.include?(uf.to_sym) : false
end