4e14ccc74d
Instiki now runs on the Rails 2.3.0 Candidate Release. Among other improvements, this means that it now automagically selects between WEBrick and Mongrel. Just run ./instiki --daemon
20 lines
393 B
Ruby
20 lines
393 B
Ruby
module ActionView #:nodoc:
|
|
class InlineTemplate #:nodoc:
|
|
include Renderable
|
|
|
|
attr_reader :source, :extension, :method_segment
|
|
|
|
def initialize(source, type = nil)
|
|
@source = source
|
|
@extension = type
|
|
@method_segment = "inline_#{@source.hash.abs}"
|
|
end
|
|
|
|
private
|
|
# Always recompile inline templates
|
|
def recompile?
|
|
true
|
|
end
|
|
end
|
|
end
|