Sha256: 560de527cbd61e999dca1f66df822996a4a163955f0fe49da5a410afa92c9905
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
module UenfLayout module Rails class Engine < ::Rails::Engine end end def self.config @@config ||= UenfLayout::Configuration.new yield @@config if block_given? @@config end class Configuration attr_accessor :nome_sistema, :setor attr_writer :nome_sistema_rodape def versao unless @versao @versao = `git describe --abbrev=0 --tags`.chomp rescue nil end @versao end def nome_sistema_rodape @nome_sistema_rodape || @nome_sistema end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
uenf_layout-1.3.11 | lib/uenf_layout.rb |
uenf_layout-1.3.10 | lib/uenf_layout.rb |
uenf_layout-1.3.9 | lib/uenf_layout.rb |
uenf_layout-1.3.8 | lib/uenf_layout.rb |
uenf_layout-1.3.7 | lib/uenf_layout.rb |