Class: Esa::ApiMethods::PathStringIO
- Inherits:
-
StringIO
- Object
- StringIO
- Esa::ApiMethods::PathStringIO
- Defined in:
- lib/esa/api_methods.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(*args) ⇒ PathStringIO
constructor
A new instance of PathStringIO.
Constructor Details
#initialize(*args) ⇒ PathStringIO
Returns a new instance of PathStringIO.
167 168 169 170 |
# File 'lib/esa/api_methods.rb', line 167 def initialize(*args) super(*args[1..-1]) @path = args[0] end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
165 166 167 |
# File 'lib/esa/api_methods.rb', line 165 def path @path end |