diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-22 15:18:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-22 15:18:06 +0000 |
commit | 95b9a603c32ce361d1746d4a00c58cd180218d41 (patch) | |
tree | 421f77e48879154b06a6ac34e3d9fe5203cc504f /app/models/blobs/notebook.rb | |
parent | 59f160b0cf3ca52fc25f827e57d0dc1273a50521 (diff) | |
download | gitlab-ce-95b9a603c32ce361d1746d4a00c58cd180218d41.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/blobs/notebook.rb')
-rw-r--r-- | app/models/blobs/notebook.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/blobs/notebook.rb b/app/models/blobs/notebook.rb new file mode 100644 index 00000000000..bdb438cccd9 --- /dev/null +++ b/app/models/blobs/notebook.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Blobs + class Notebook < ::Blob + attr_reader :data + + def initialize(blob, data) + super(blob.__getobj__, blob.container) + @data = data + end + end +end |