Class: DGet::GitHubDoc
Constant Summary
Constants included from DGet
Instance Attribute Summary collapse
-
#pages ⇒ Object
readonly
Returns the value of attribute pages.
-
#project_name ⇒ Object
readonly
Returns the value of attribute project_name.
-
#root_doc ⇒ Object
readonly
Returns the value of attribute root_doc.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(user, project_name) ⇒ GitHubDoc
constructor
A new instance of GitHubDoc.
Methods included from DGet
#N, cli, parse_args
Constructor Details
#initialize(user, project_name) ⇒ GitHubDoc
Returns a new instance of GitHubDoc.
12 13 14 15 |
# File 'lib/dget/github.rb', line 12 def initialize user, project_name @user = user @project_name = project_name end |
Instance Attribute Details
#pages ⇒ Object (readonly)
Returns the value of attribute pages.
10 11 12 |
# File 'lib/dget/github.rb', line 10 def pages @pages end |
#project_name ⇒ Object (readonly)
Returns the value of attribute project_name.
10 11 12 |
# File 'lib/dget/github.rb', line 10 def project_name @project_name end |
#root_doc ⇒ Object (readonly)
Returns the value of attribute root_doc.
10 11 12 |
# File 'lib/dget/github.rb', line 10 def root_doc @root_doc end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
10 11 12 |
# File 'lib/dget/github.rb', line 10 def user @user end |