Module: Hardhat::Repository
Defined Under Namespace
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
2 3 4 |
# File 'lib/hardhat/repository.rb', line 2 def path @path end |
#url ⇒ Object
Returns the value of attribute url.
2 3 4 |
# File 'lib/hardhat/repository.rb', line 2 def url @url end |
Instance Method Details
#initialize(url, path, options = {}) ⇒ Object
4 5 6 7 |
# File 'lib/hardhat/repository.rb', line 4 def initialize(url, path, ={}) @url = url @path = File.(path) end |