Class: GitReviewer::FolderOwner
- Inherits:
-
Object
- Object
- GitReviewer::FolderOwner
- Defined in:
- lib/gitreviewer/config/configuration.rb
Instance Attribute Summary collapse
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, owner) ⇒ FolderOwner
constructor
A new instance of FolderOwner.
- #to_hash ⇒ Object
Constructor Details
#initialize(path, owner) ⇒ FolderOwner
Returns a new instance of FolderOwner.
81 82 83 84 |
# File 'lib/gitreviewer/config/configuration.rb', line 81 def initialize(path, owner) @path = path @owner = owner end |
Instance Attribute Details
#owner ⇒ Object
Returns the value of attribute owner.
79 80 81 |
# File 'lib/gitreviewer/config/configuration.rb', line 79 def owner @owner end |
#path ⇒ Object
Returns the value of attribute path.
78 79 80 |
# File 'lib/gitreviewer/config/configuration.rb', line 78 def path @path end |
Instance Method Details
#to_hash ⇒ Object
86 87 88 89 90 91 |
# File 'lib/gitreviewer/config/configuration.rb', line 86 def to_hash { path: @path, owner: @owner } end |