Module: Gitlab::DefaultBranch

Defined in:
lib/gitlab/default_branch.rb

Class Method Summary collapse

Class Method Details

.value(object: nil) ⇒ Object


6
7
8
# File 'lib/gitlab/default_branch.rb', line 6

def self.value(object: nil)
  Feature.enabled?(:main_branch_over_master, object) ? 'main' : 'master'
end