Class: UenfLayout::Configuration
- Inherits:
-
Object
- Object
- UenfLayout::Configuration
- Defined in:
- lib/uenf_layout.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#nome_sistema ⇒ Object
Returns the value of attribute nome_sistema.
- #nome_sistema_rodape ⇒ Object
-
#setor ⇒ Object
Returns the value of attribute setor.
-
#telefone ⇒ Object
Returns the value of attribute telefone.
Instance Method Summary collapse
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
14 15 16 |
# File 'lib/uenf_layout.rb', line 14 def email @email end |
#nome_sistema ⇒ Object
Returns the value of attribute nome_sistema.
14 15 16 |
# File 'lib/uenf_layout.rb', line 14 def nome_sistema @nome_sistema end |
#nome_sistema_rodape ⇒ Object
24 25 26 |
# File 'lib/uenf_layout.rb', line 24 def nome_sistema_rodape @nome_sistema_rodape || @nome_sistema end |
#setor ⇒ Object
Returns the value of attribute setor.
14 15 16 |
# File 'lib/uenf_layout.rb', line 14 def setor @setor end |
#telefone ⇒ Object
Returns the value of attribute telefone.
14 15 16 |
# File 'lib/uenf_layout.rb', line 14 def telefone @telefone end |
Instance Method Details
#versao ⇒ Object
17 18 19 20 21 22 |
# File 'lib/uenf_layout.rb', line 17 def versao unless @versao @versao = `git describe --abbrev=0 --tags`.chomp rescue nil end @versao end |