RubyGems.org

DecentExposure helps you program to an interface, rather than an implementation in your Rails controllers. The fact of the matter is that sharing state via instance variables in controllers promotes close coupling with views. DecentExposure gives you a declarative manner of exposing an interface to the state that controllers contain and thereby decreasing coupling and improving your testability and overall design.

installgem install decent_exposure -v 0.2.1
Authors

Stephen Caudill, Jon Larkowski

287,337 total downloads 1,649 for this version
Owners

75b162d9c925b3cfb4d20322307be5d065df4ac904d6a73e5a70b0db927a2917

Gemfile
gem 'decent_exposure', '~> 0.2.1'
Versions
  1. 2.3.2 May 9, 2014 (11.5 KB)
  2. 2.3.1 January 30, 2014 (11.5 KB)
  3. 2.3.0 September 24, 2013 (11.5 KB)
  4. 2.2.1 August 4, 2013 (11 KB)
  5. 2.2.0 May 24, 2013 (11 KB)
Show all versions (20 total)
Development Dependencies
  1. mocha >= 0.9.8
  2. rspec >= 1.2.9