14 lines
213 B
Ruby
14 lines
213 B
Ruby
|
class ReadmeBlob < SimpleDelegator
|
||
|
attr_reader :repository
|
||
|
|
||
|
def initialize(blob, repository)
|
||
|
@repository = repository
|
||
|
|
||
|
super(blob)
|
||
|
end
|
||
|
|
||
|
def rendered_markup
|
||
|
repository.rendered_readme
|
||
|
end
|
||
|
end
|