Method: Gitlab::Git::Tree#initialize
- Defined in:
- lib/gitlab_git/tree.rb
#initialize(options) ⇒ Tree
Returns a new instance of Tree.
73 74 75 76 77 |
# File 'lib/gitlab_git/tree.rb', line 73 def initialize() %w(id root_id name path type mode commit_id).each do |key| self.send("#{key}=", [key.to_sym]) end end |