Module: TurboFlash

Defined in:
lib/turbo_flash/flash_turbo.rb,
lib/turbo_flash.rb,
lib/turbo_flash/railtie.rb,
lib/turbo_flash/version.rb,
lib/turbo_flash/renderer.rb,
lib/turbo_flash/flash_hash.rb,
lib/turbo_flash/configuration.rb

Overview

TODO: this is ugly af, but it works

Defined Under Namespace

Modules: FlashHash, Renderer Classes: Configuration, FlashTurbo, Railtie

Constant Summary collapse

VERSION =
'2.0.1'

Class Method Summary collapse

Class Method Details

.config {|configuration| ... } ⇒ Object

Yields:


15
16
17
# File 'lib/turbo_flash.rb', line 15

def self.config
  yield configuration
end

.configurationObject


11
12
13
# File 'lib/turbo_flash.rb', line 11

def self.configuration
  @configuration ||= Configuration.new
end