Module: LazyLazer
- Defined in:
- lib/lazy_lazer.rb,
lib/lazy_lazer/errors.rb,
lib/lazy_lazer/version.rb,
lib/lazy_lazer/key_metadata.rb,
lib/lazy_lazer/internal_model.rb
Overview
LazyLazer. Include this module into your class to infuse it with lazer powers.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods Classes: InternalModel, KeyMetadata, MissingAttribute, RequiredAttribute
Constant Summary collapse
- VERSION =
The gem's semantic version number.
'0.5.0.pre.1'
Class Method Summary collapse
-
.included(base) ⇒ void
Hook into `include LazyLazer`.
Class Method Details
.included(base) ⇒ void
This method returns an undefined value.
Hook into `include LazyLazer`.
17 18 19 20 21 |
# File 'lib/lazy_lazer.rb', line 17 def self.included(base) base.extend(ClassMethods) base.include(InstanceMethods) base.instance_variable_set(:@lazer_metadata, {}) end |