Class: Whatsnew::Project
- Inherits:
-
Object
- Object
- Whatsnew::Project
- Defined in:
- lib/whatsnew/project.rb
Instance Attribute Summary collapse
-
#news_file ⇒ Object
readonly
Returns the value of attribute news_file.
Instance Method Summary collapse
-
#initialize(path_or_repo, access_token = nil) ⇒ Project
constructor
A new instance of Project.
Constructor Details
#initialize(path_or_repo, access_token = nil) ⇒ Project
Returns a new instance of Project.
5 6 7 8 |
# File 'lib/whatsnew/project.rb', line 5 def initialize(path_or_repo, access_token = nil) @path_or_repo = path_or_repo @access_token = access_token end |
Instance Attribute Details
#news_file ⇒ Object (readonly)
Returns the value of attribute news_file.
3 4 5 |
# File 'lib/whatsnew/project.rb', line 3 def news_file @news_file end |