Module: FDotErrors

Defined in:
lib/f_dot_errors.rb,
lib/f_dot_errors/config.rb,
lib/f_dot_errors/railtie.rb,
lib/f_dot_errors/version.rb,
lib/f_dot_errors/errors_helper.rb

Defined Under Namespace

Modules: ErrorsHelper Classes: Configuration, Railtie

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configObject



8
9
10
# File 'lib/f_dot_errors/config.rb', line 8

def self.config
  @config
end

.configure {|@config ||= FDotErrors::Configuration.new| ... } ⇒ Object

Yields:



4
5
6
# File 'lib/f_dot_errors/config.rb', line 4

def self.configure(&block)
  yield @config ||= FDotErrors::Configuration.new
end