Class: SimpleExcel::ExtStringIO

Inherits:
StringIO
  • Object
show all
Defined in:
lib/simple-excel/ext_string_io.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#filepathObject



3
4
5
# File 'lib/simple-excel/ext_string_io.rb', line 3

def filepath
  @filepath
end

Instance Method Details

#original_filenameString

Returns Original filename with extension.

Returns:

  • (String)

    Original filename with extension



6
7
8
# File 'lib/simple-excel/ext_string_io.rb', line 6

def original_filename
  File.basename(filepath)
end