Class: Gip::Remote
- Inherits:
-
Object
- Object
- Gip::Remote
- Defined in:
- lib/gip.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name, url, path) ⇒ Remote
constructor
A new instance of Remote.
- #to_a ⇒ Object
Constructor Details
#initialize(name, url, path) ⇒ Remote
Returns a new instance of Remote.
182 183 184 |
# File 'lib/gip.rb', line 182 def initialize(name, url, path) @name, @url, @path = name, url, path end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
180 181 182 |
# File 'lib/gip.rb', line 180 def name @name end |
#path ⇒ Object
Returns the value of attribute path.
180 181 182 |
# File 'lib/gip.rb', line 180 def path @path end |
#url ⇒ Object
Returns the value of attribute url.
180 181 182 |
# File 'lib/gip.rb', line 180 def url @url end |
Instance Method Details
#to_a ⇒ Object
186 187 188 |
# File 'lib/gip.rb', line 186 def to_a [@name, @url, @path] end |