Class: Presenter::CPF

Inherits:
Each
  • Object
show all
Defined in:
lib/presenter/cpf.rb

Instance Attribute Summary

Attributes inherited from Each

#value

Instance Method Summary collapse

Methods inherited from Each

#initialize, #to_s

Methods included from Name

#__name__

Constructor Details

This class inherits a constructor from Presenter::Each

Instance Method Details

#outputObject



5
6
7
# File 'lib/presenter/cpf.rb', line 5

def output
  ::CPF.new(value).formatted
end