class Git::Remote::Parser::Result
Attributes
host[R]
html_url[R]
owner[R]
protocol[R]
repo[R]
username[R]
Public Class Methods
new(protocol, username, host, owner, repo, html_url)
click to toggle source
# File lib/git/remote/parser.rb, line 9 def initialize(protocol, username, host, owner, repo, html_url) @protocol = protocol @username = username @host = host @owner = owner @repo = repo @html_url = html_url end
Public Instance Methods
to_h()
click to toggle source
# File lib/git/remote/parser.rb, line 18 def to_h { protocol: protocol, username: username, host: host, owner: owner, repo: repo, html_url: html_url, } end