Class: GitNoted::Repository::Note

Inherits:
Object
  • Object
show all
Defined in:
lib/git_noted/repository.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, path, labels) ⇒ Note

Returns a new instance of Note.



8
9
10
11
12
# File 'lib/git_noted/repository.rb', line 8

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

Instance Attribute Details

#labelsObject (readonly)

Returns the value of attribute labels.



14
15
16
# File 'lib/git_noted/repository.rb', line 14

def labels
  @labels
end

#nameObject (readonly)

Returns the value of attribute name.



14
15
16
# File 'lib/git_noted/repository.rb', line 14

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



14
15
16
# File 'lib/git_noted/repository.rb', line 14

def path
  @path
end