Class: RepoParser::Repository
- Inherits:
-
Struct
- Object
- Struct
- RepoParser::Repository
- Defined in:
- lib/repo_parser.rb
Overview
Repository represents a repository
Instance Attribute Summary collapse
-
#fork ⇒ Object
Returns the value of attribute fork.
-
#name ⇒ Object
Returns the value of attribute name.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#fork ⇒ Object
Returns the value of attribute fork
64 65 66 |
# File 'lib/repo_parser.rb', line 64 def fork @fork end |
#name ⇒ Object
Returns the value of attribute name
64 65 66 |
# File 'lib/repo_parser.rb', line 64 def name @name end |
#owner ⇒ Object
Returns the value of attribute owner
64 65 66 |
# File 'lib/repo_parser.rb', line 64 def owner @owner end |
#url ⇒ Object
Returns the value of attribute url
64 65 66 |
# File 'lib/repo_parser.rb', line 64 def url @url end |
Instance Method Details
#to_s ⇒ Object
65 66 67 68 69 70 71 72 73 |
# File 'lib/repo_parser.rb', line 65 def to_s <<-STRING #{name}: name: #{name} url: #{url} owner: #{owner} ---------- STRING end |