Class: Payzilla::Utils::StringFile
- Inherits:
-
StringIO
- Object
- StringIO
- Payzilla::Utils::StringFile
- Defined in:
- lib/payzilla/utils/string_file.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(filename, content) ⇒ StringFile
constructor
A new instance of StringFile.
Constructor Details
#initialize(filename, content) ⇒ StringFile
Returns a new instance of StringFile.
8 9 10 11 |
# File 'lib/payzilla/utils/string_file.rb', line 8 def initialize(filename, content) self.path = filename super content end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/payzilla/utils/string_file.rb', line 6 def path @path end |