Sha256: be9f9bf670a5dc44e996933cf406f653b252fd7a5c142040b74b8b3bc66f4ccc

Contents?: true

Size: 281 Bytes

Versions: 10

Compression:

Stored size: 281 Bytes

Contents

module ActiveMocker

  def self.mock(model_name, options=nil)
    Generate.mock(model_name)
  end

  def self.configure(&block)
    Generate.configure(&block)
  end

  def self.config(&block)
    Generate.configure(&block)
  end

  def self.create_mocks
    Generate.new
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active_mocker-1.5.2 lib/active_mocker/public_methods.rb
active_mocker-1.5.1 lib/active_mocker/public_methods.rb
active_mocker-1.5 lib/active_mocker/public_methods.rb
active_mocker-1.4.2 lib/active_mocker/public_methods.rb
active_mocker-1.4.1 lib/active_mocker/public_methods.rb
active_mocker-1.3.2 lib/active_mocker/public_methods.rb
active_mocker-1.3.1 lib/active_mocker/public_methods.rb
active_mocker-1.3 lib/active_mocker/public_methods.rb
active_mocker-1.2.4 lib/active_mocker/public_methods.rb
active_mocker-1.2.3 lib/active_mocker/public_methods.rb