rspec style lets for classes
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
Gemfile
Gemfile.lock
LICENSE
README.md
letter.gemspec

README.md

letter

RSpec style lets for your classes. Similar to decent_exposure, but handles less for you.

class OrdersController < ApplicationController
  extend Letter

  let(:order) { Order.find(params[:id]) }
end