Class: Git::Repository::Branching::HeadState

Inherits:
Data
  • Object
show all
Defined in:
lib/git/repository/branching.rb

Overview

Represents the state of HEAD in a repository

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



38
# File 'lib/git/repository/branching.rb', line 38

HeadState = Data.define(:state, :name)

#stateObject (readonly)

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



38
# File 'lib/git/repository/branching.rb', line 38

HeadState = Data.define(:state, :name)