Sha256: f3cd1d59e72f36de5318d4c0958de613ec53be964b492c3e9007a972be83cd30
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
# frozen_string_literal: true module Strict module Accessor module Attributes def attributes(&block) block ||= -> {} configuration = Strict::Attributes::Dsl.run(&block) include Module.new(configuration) include Strict::Attributes::Instance extend Strict::Attributes::Configured end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
strict-1.0.0 | lib/strict/accessor/attributes.rb |