Sha256: 103440f1c79da8e32742dee7b53171acae9cb6a1db2cacfbab15ca21f50dfdc2

Contents?: true

Size: 205 Bytes

Versions: 30

Compression:

Stored size: 205 Bytes

Contents

require "stringio"

# To use as a parameter to Merb::Template.inline_template
class VirtualFile < StringIO
  attr_accessor :path
  def initialize(string, path)
    super(string)
    @path = path
  end
end

Version data entries

30 entries across 29 versions & 7 rubygems

Version Path
extlib-0.9.16 lib/extlib/virtual_file.rb
extlib-0.9.15 lib/extlib/virtual_file.rb
robsharp-extlib-0.9.15 lib/extlib/virtual_file.rb
sundbp-extlib-0.9.14 lib/extlib/virtual_file.rb
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/extlib-0.9.14/lib/extlib/virtual_file.rb
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.8/gems/extlib-0.9.14/lib/extlib/virtual_file.rb
middleman-0.12.2 lib/middleman/vendor/gems/gems/extlib-0.9.14/lib/extlib/virtual_file.rb
middleman-0.12.1 lib/middleman/vendor/gems/gems/extlib-0.9.14/lib/extlib/virtual_file.rb
extlib-0.9.14 lib/extlib/virtual_file.rb
ginst-2009.12.8 vendor/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
middleman-0.12.0.pre3 lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
middleman-0.12.0.pre2 lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
middleman-0.12.0.pre lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
ginst-2009.11.24 vendor/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
ginst-2009.11.23 vendor/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
rango-0.0.6 vendor/extlib/lib/extlib/virtual_file.rb
rango-0.1.pre vendor/extlib/lib/extlib/virtual_file.rb
middleman-0.10.17 vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
middleman-0.10.16 vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb
middleman-0.10.15 vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb