Sha256: ab9bbbca5a31dac99f21918cb069372c8026b3a7965e7c80e016efcbc4c7ea26

Contents?: true

Size: 195 Bytes

Versions: 39

Compression:

Stored size: 195 Bytes

Contents

class StringFile < StringIO
  attr_accessor :filepath

  def initialize(*args)
    super(*args[1..-1])
    @filepath = args[0]
  end

  def original_filename
    File.basename(filepath)
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
smartkiosk-server-0.13.1 lib/string_file.rb
smartkiosk-server-0.13 lib/string_file.rb
smartkiosk-server-0.12.1 lib/string_file.rb
smartkiosk-server-0.12 lib/string_file.rb
smartkiosk-server-0.11.11 lib/string_file.rb
smartkiosk-server-0.11.10 lib/string_file.rb
smartkiosk-server-0.11.9 lib/string_file.rb
smartkiosk-server-0.11.8 lib/string_file.rb
smartkiosk-server-0.11.7 lib/string_file.rb
smartkiosk-server-0.11.6 lib/string_file.rb
smartkiosk-server-0.11.5 lib/string_file.rb
smartkiosk-server-0.11.4 lib/string_file.rb
smartkiosk-server-0.11.3 lib/string_file.rb
smartkiosk-server-0.11.2 lib/string_file.rb
smartkiosk-server-0.11.1 lib/string_file.rb
smartkiosk-server-0.11 lib/string_file.rb
smartkiosk-server-0.10.19 lib/string_file.rb
smartkiosk-server-0.10.18 lib/string_file.rb
smartkiosk-server-0.10.17 lib/string_file.rb
smartkiosk-server-0.10.16 lib/string_file.rb