Class: GitNoted::Repository::Note
- Inherits:
-
Object
- Object
- GitNoted::Repository::Note
- Defined in:
- lib/git_noted/repository.rb
Instance Attribute Summary collapse
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(name, path, labels) ⇒ Note
constructor
A new instance of Note.
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
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
14 15 16 |
# File 'lib/git_noted/repository.rb', line 14 def labels @labels end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
14 15 16 |
# File 'lib/git_noted/repository.rb', line 14 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
14 15 16 |
# File 'lib/git_noted/repository.rb', line 14 def path @path end |