RubyGems Navigation menu

object_mock 0.1.2

A group of methods added to Object class to enable simple mocking of instance or class methods. This mocking can be done temporarily within the scope of a block. Alternatively it can be done indefinitely until explicitly undone.

Gemfile
          gem 'object_mock', '~> 0.1.2'
  
  
  
  
  
  
  

install
          gem install object_mock -v 0.1.2
  
  
  
  
  
  
  

Authors:

  • Mohammed Shalaby

Owners:

Total downloads 5,105

For this version 1,096

Required Ruby Version: None

Links:

Versions:

  1. 0.1.3 - July 12, 2011 (5.5 KB)
  2. 0.1.2 - April 18, 2010 (5.5 KB)
  3. 0.1.1 - April 18, 2010 (5.5 KB)
  4. 0.1 - April 18, 2010 (5.5 KB)