Sha256: 03b8987503e31ecc18946ba79178de26781e02db29b18d0272a6a2fb7730fce4
Contents?: true
Size: 316 Bytes
Versions: 27
Compression:
Stored size: 316 Bytes
Contents
module Virtus class Attribute module LazyDefault # @api public def get(instance) if instance.instance_variable_defined?(instance_variable_name) super else set_default_value(instance) end end end # LazyDefault end # Attribute end # Virtus
Version data entries
27 entries across 25 versions & 5 rubygems