Class: Payzilla::Utils::StringFile

Inherits:
StringIO
  • Object
show all
Defined in:
lib/payzilla/utils/string_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/payzilla/utils/string_file.rb', line 6

def path
  @path
end