Files
2024-04-25 18:14:49 +00:00

20 lines
307 B
Ruby

# frozen_string_literal: true
module Bitbucket
module Representation
class Base
attr_reader :raw
delegate :present?, to: :raw
def initialize(raw)
@raw = raw
end
def self.decorate(entries)
entries.map { |entry| new(entry) }
end
end
end
end