class FileMarshal::Writer::File
Attributes
path[R]
Public Class Methods
new(attributes, path)
click to toggle source
# File lib/file_marshal/writer/file.rb, line 6 def initialize(attributes, path) @attributes = attributes @path = path end
Public Instance Methods
file()
click to toggle source
# File lib/file_marshal/writer/file.rb, line 11 def file @file ||= ::File.new(path, "w+") end