summaryrefslogtreecommitdiff
path: root/app/models/readme_blob.rb
blob: 1863a08f1dea6daf82825cd998850c66a1596046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class ReadmeBlob < SimpleDelegator
  attr_reader :repository

  def initialize(blob, repository)
    @repository = repository

    super(blob)
  end

  def rendered_markup
    repository.rendered_readme
  end
end