Module: ActiveModel::Warnings

Defined in:
lib/activemodel-warnings.rb,
lib/activemodel-warnings/boolean.rb,
lib/activemodel-warnings/version.rb,
lib/activemodel-warnings/global_boolean.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
"1.0.3"

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#skip_warningsObject

Returns the value of attribute skip_warnings.



7
8
9
# File 'lib/activemodel-warnings.rb', line 7

def skip_warnings
  @skip_warnings
end

Class Method Details

.included(klass) ⇒ Object



9
10
11
# File 'lib/activemodel-warnings.rb', line 9

def self.included(klass)
  klass.extend(ClassMethods)
end