Sha256: 4fb809007d2b4e110895e299a5636021e41c4556123d9b5a31d39f0b591bdf44

Contents?: true

Size: 377 Bytes

Versions: 3

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

require 'magic/lookup'

require_relative 'decorator/version'

module Magic
	autoload :Decoratable, 'magic/decoratable'

	Object.include Decoratable

	module Decorator
		autoload :Base, 'magic/decorator/base'

		module_function

		def for(...)      = Base.for(...)
		def name_for(...) = Base.name_for(...)
	end
end

require 'enumerable_decorator'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
magic-decorator-1.0.0 lib/magic/decorator.rb
magic-decorator-0.3.0 lib/magic/decorator.rb
magic-decorator-0.2.0 lib/magic/decorator.rb