Class: UenfLayout::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email.



14
15
16
# File 'lib/uenf_layout.rb', line 14

def email
  @email
end

#nome_sistemaObject

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_rodapeObject



24
25
26
# File 'lib/uenf_layout.rb', line 24

def nome_sistema_rodape
  @nome_sistema_rodape || @nome_sistema
end

#setorObject

Returns the value of attribute setor.



14
15
16
# File 'lib/uenf_layout.rb', line 14

def setor
  @setor
end

#telefoneObject

Returns the value of attribute telefone.



14
15
16
# File 'lib/uenf_layout.rb', line 14

def telefone
  @telefone
end

Instance Method Details

#versaoObject



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