debian-mirror-gitlab/app/models/readme_blob.rb
2018-11-18 11:00:15 +05:30

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