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.
184 185 186 |
# File 'lib/gip.rb', line 184 def initialize(name, url, path) @name, @url, @path = name, url, path end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
182 183 184 |
# File 'lib/gip.rb', line 182 def name @name end |
#path ⇒ Object
Returns the value of attribute path.
182 183 184 |
# File 'lib/gip.rb', line 182 def path @path end |
#url ⇒ Object
Returns the value of attribute url.
182 183 184 |
# File 'lib/gip.rb', line 182 def url @url end |
Instance Method Details
#to_a ⇒ Object
188 189 190 |
# File 'lib/gip.rb', line 188 def to_a [@name, @url, @path] end |