Sha256: 4863edaba43d59f99f75250bcbf880d81312ea8483281215e3f2614c705c04cf

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 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, &block)
    Endower.endow klass, &block
    klass
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
surrogate-0.6.2 lib/surrogate.rb
surrogate-0.6.1 lib/surrogate.rb
surrogate-0.6.0 lib/surrogate.rb