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.10.15 lib/string_file.rb
smartkiosk-server-0.10.14 lib/string_file.rb
smartkiosk-server-0.10.13 lib/string_file.rb
smartkiosk-server-0.10.12 lib/string_file.rb
smartkiosk-server-0.10.11 lib/string_file.rb
smartkiosk-server-0.10.10 lib/string_file.rb
smartkiosk-server-0.10.9 lib/string_file.rb
smartkiosk-server-0.10.8 lib/string_file.rb
smartkiosk-server-0.10.7 lib/string_file.rb
smartkiosk-server-0.10.5 lib/string_file.rb
smartkiosk-server-0.10.4 lib/string_file.rb
smartkiosk-server-0.10.3 lib/string_file.rb
smartkiosk-server-0.10.2 lib/string_file.rb
smartkiosk-server-0.10.1 lib/string_file.rb
smartkiosk-server-0.10.0 lib/string_file.rb
smartkiosk-server-0.9.3 lib/string_file.rb
smartkiosk-server-0.9.2 lib/string_file.rb
smartkiosk-server-0.9.1 lib/string_file.rb
smartkiosk-server-0.9.0 lib/string_file.rb