Sha256: 3543e092c2aac58d454517468685d817f0fc1fdeba5f102ac8a5b1cb2d9a6c35

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

# encoding: UTF-8

module Watchmaker
  module Constructor
    extend ActiveSupport::Concern

    module ClassMethods

      # Contruct a profile, or persist objects.
      # 
      def create(profile)
        manufacture(profile, :create)  
      end

      alias :construct :create

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
watchmaker-0.2.2 lib/watchmaker/constructor.rb
watchmaker-0.2.1 lib/watchmaker/constructor.rb
watchmaker-0.2.0 lib/watchmaker/constructor.rb