Module: ModelErrorMessages

Defined in:
lib/model_error_messages/helpers.rb,
lib/model_error_messages/railtie.rb,
lib/model_error_messages/version.rb,
lib/model_error_messages/configuration.rb

Defined Under Namespace

Modules: Helpers, PrivateHelpers, VERSION Classes: Configuration, Railtie

Class Method Summary collapse

Class Method Details

.configurationObject



28
29
30
# File 'lib/model_error_messages/configuration.rb', line 28

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

.configure {|configuration| ... } ⇒ Object

Yields:



32
33
34
# File 'lib/model_error_messages/configuration.rb', line 32

def self.configure
  yield configuration
end