Module: LazyLoadAttributes
- Defined in:
- lib/lazy_load_attributes.rb,
lib/lazy_load_attributes/version.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- RUBY_3 =
Gem::Version.new("3.0.0").freeze
- ATTR_NAME_REGEX =
/\A[a-z0-9_]+\z/.freeze
- VERSION =
"0.2.1"
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
10 11 12 13 |
# File 'lib/lazy_load_attributes.rb', line 10 def self.extended(base) base.extend(ClassMethods) base.include(InstanceMethods) end |