Class: VirtualFile
Overview
To use as a parameter to Merb::Template.inline_template
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(string, path) ⇒ VirtualFile
constructor
A new instance of VirtualFile.
Constructor Details
#initialize(string, path) ⇒ VirtualFile
Returns a new instance of VirtualFile.
6 7 8 9 |
# File 'lib/extlib/virtual_file.rb', line 6 def initialize(string, path) super(string) @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
5 6 7 |
# File 'lib/extlib/virtual_file.rb', line 5 def path @path end |