BigW Consortium Gitlab

tree.rb 327 Bytes
Newer Older
1
class Tree
2
  attr_accessor :raw
3

4 5
  def initialize(repository, sha, ref = nil, path = nil)
    @raw = Gitlab::Git::Tree.new(repository, sha, ref, path)
6
  end
gitlabhq committed
7

8 9
  def method_missing(m, *args, &block)
    @raw.send(m, *args, &block)
gitlabhq committed
10
  end
11

12 13
  def respond_to?(method)
    return true if @raw.respond_to?(method)
14

15
    super
16
  end
17
end