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.
177 178 179 180 |
# File 'lib/esa/api_methods.rb', line 177 def initialize(*args) super(*args[1..-1]) @path = args[0] end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
175 176 177 |
# File 'lib/esa/api_methods.rb', line 175 def path @path end |