Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1bbb3157b9
22 lines (17 sloc) 0.325 kb
require_relative 'fake_record'
module Blog
module Presenters
class Post
takes :subject
let(:id) { @subject.id }
let(:title) { @subject.title }
end
class PostList
let(:all) { Records::Post.all }
end
end
module Records
class Post < FakeRecord.new(:title)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.