Sha256: 42d8807e0ef3e7132935155a88aaf72e8b32e3d2e6fce4425da351164eae5c62
Contents?: true
Size: 707 Bytes
Versions: 5
Compression:
Stored size: 707 Bytes
Contents
module SimpleModel autoload :ExtendCore, "simple_model/extend_core" autoload :Attributes, "simple_model/attributes" autoload :Errors, "simple_model/errors" autoload :ErrorHelpers, "simple_model/error_helpers" autoload :Validation, "simple_model/validation" # require active_model if available begin require 'active_model' rescue LoadError #Don't fail end class Base include SimpleModel::Attributes include SimpleModel::ErrorHelpers begin include ActiveModel::Validations include ActiveModel::Conversion extend ActiveModel::Naming rescue NameError include SimpleModel::Errors include SimpleModel::Validation end end end
Version data entries
5 entries across 5 versions & 1 rubygems