gitlab-org--gitlab-foss/app/models/readme_blob.rb
2018-07-26 16:55:41 -07:00

15 lines
244 B
Ruby

# frozen_string_literal: true
class ReadmeBlob < SimpleDelegator
attr_reader :repository
def initialize(blob, repository)
@repository = repository
super(blob)
end
def rendered_markup
repository.rendered_readme
end
end