Sha256: 93eb6914eb566cfd1563bc0fb5f8a754cb1ea08beb12e65bbd3300ac101bc687

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

require 'surrogate/version'
require 'surrogate/hatchling'
require 'surrogate/hatchery'
require 'surrogate/method_definition'
require 'surrogate/values'
require 'surrogate/endower'
require 'surrogate/api_comparer'
require 'surrogate/invocation'

class Surrogate
  UnpreparedMethodError = Class.new StandardError

  def self.endow(klass, options={},  &block)
    Endower.endow klass, options, &block
    klass
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
surrogate-0.6.5 lib/surrogate.rb
surrogate-0.6.4 lib/surrogate.rb
surrogate-0.6.3 lib/surrogate.rb