Sha256: 7a530fe8a3dc50a04dc66e57d4accf739027f47cf764419b47332daf9e7f8d75

Contents?: true

Size: 943 Bytes

Versions: 1

Compression:

Stored size: 943 Bytes

Contents

# Disposable


Facade existing (model) class
where to decorate old instances from collections?
  option.invoice_template => .items



class Invoice
	class Option
	  facades InvoiceOption

	  collection :items, original => :invoice_template
	  	def items invoice_template.collect ..
	  - or: opt.invoice_tempate.facade.

	end


* facades
* overriding public methods in facade
* temporary Refinements

* steps of refactoring


"explicit refactoring"



TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'disposable'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install disposable

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
disposable-0.0.1 README.md