Class: Branchtree::Branch::InvalidInfo

Inherits:
NullInfo
  • Object
show all
Defined in:
lib/branchtree/branch.rb

Instance Method Summary collapse

Methods inherited from NullInfo

#ahead_of_parent, #ahead_of_upstream, #behind_parent, #behind_upstream, #has_upstream?, #initialize

Constructor Details

This class inherits a constructor from Branchtree::Branch::NullInfo

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


146
147
148
# File 'lib/branchtree/branch.rb', line 146

def empty?
  false
end

#populateObject



154
155
156
# File 'lib/branchtree/branch.rb', line 154

def populate
  self
end

#repopulateObject



158
159
160
# File 'lib/branchtree/branch.rb', line 158

def repopulate
  self
end

#valid?Boolean

Returns:

  • (Boolean)


150
151
152
# File 'lib/branchtree/branch.rb', line 150

def valid?
  false
end