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



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

def path
  @path
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



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

def url
  @url
end