Class: DGet::GitHubDoc

Inherits:
Object show all
Includes:
DGet
Defined in:
lib/dget/github.rb

Constant Summary

Constants included from DGet

GC, GH, VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pagesObject (readonly)

Returns the value of attribute pages.



10
11
12
# File 'lib/dget/github.rb', line 10

def pages
  @pages
end

#project_nameObject (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_docObject (readonly)

Returns the value of attribute root_doc.



10
11
12
# File 'lib/dget/github.rb', line 10

def root_doc
  @root_doc
end

#userObject (readonly)

Returns the value of attribute user.



10
11
12
# File 'lib/dget/github.rb', line 10

def user
  @user
end