Class: Dev::Git::Info

Inherits:
Object show all
Defined in:
lib/firespring_dev_commands/git/info.rb

Overview

Class which contains information about the git repository

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, path) ⇒ Info

Returns a new instance of Info.



7
8
9
10
# File 'lib/firespring_dev_commands/git/info.rb', line 7

def initialize(name, path)
  @name = name
  @path = path
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/firespring_dev_commands/git/info.rb', line 5

def name
  @name
end

#pathObject

Returns the value of attribute path.



5
6
7
# File 'lib/firespring_dev_commands/git/info.rb', line 5

def path
  @path
end