Module: BarrasRails

Defined in:
lib/barras_rails.rb,
lib/barras_rails/engine.rb,
lib/barras_rails/version.rb,
lib/barras_rails/utilidades.rb,
lib/barras_rails/configuracao.rb,
app/helpers/barras_rails/application_helper.rb,
lib/generators/barras_rails/install_generator.rb

Overview

Generator para configurar a gem na aplicação host.

Defined Under Namespace

Modules: ApplicationHelper, Utilidades Classes: Configuracao, Engine, InstallGenerator

Constant Summary collapse

VERSION =
'1.3.2'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configuracaoObject



12
13
14
# File 'lib/barras_rails.rb', line 12

def self.configuracao
  @configuracao ||= Configuracao.new
end

Class Method Details

.configurar {|configuracao| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/barras_rails.rb', line 16

def self.configurar
  yield(configuracao)
end