Class: Overcommit::GitRepo::Submodule

Inherits:
Struct
  • Object
show all
Defined in:
lib/overcommit/git_repo.rb

Overview

Contains information about a registered submodule.

Instance Attribute Summary collapse

Instance Attribute Details

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



213
214
215
# File 'lib/overcommit/git_repo.rb', line 213

def path
  @path
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



213
214
215
# File 'lib/overcommit/git_repo.rb', line 213

def url
  @url
end