debian-mirror-gitlab/app/models/readme_blob.rb

14 lines
213 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
class ReadmeBlob < SimpleDelegator
attr_reader :repository
def initialize(blob, repository)
@repository = repository
super(blob)
end
def rendered_markup
repository.rendered_readme
end
end