Sha256: 769e67d35e057eb5afb6cacde95cba33621fda1f0b9ad6ada27a085545a3fc28

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

require 'easy_presenter'

class User < ActiveRecord::Base
  has_many :games
end
class Game < ActiveRecord::Base
  belongs_to :user
end
class Tree < ActiveRecord::Base
end

class Queen
  include EasyPresenter
end
class Prince < Queen
end
class Paper
  include EasyPresenter::Base
  def link
    link_to "base"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
easy_presenter-1.1.1 spec/fake_app/app/models.rb
easy_presenter-1.1.0 spec/fake_app/app/models.rb