module Icing

Constants

VERSION

Public Class Methods

decoration_factory() click to toggle source
# File lib/icing.rb, line 10
def self.decoration_factory
  @decoration_factory ||= DecorationFactory.new
end
decorator(undecorated_object, definition) click to toggle source
# File lib/icing.rb, line 14
def self.decorator(undecorated_object, definition)
  @decorator_factory ||= DecoratorFactory.new

  @decorator_factory.create(undecorated_object, definition)
end