Add compatibility with edge Rails. Thanks to Russell Norris for the patch.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@728 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2008-01-14 00:52:16 +00:00
parent 4fa5602953
commit 502c96fc8b
1 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,18 @@ module Haml
1
end
def self.compilable?
true
end
def compilable?
self.class.compilable?
end
def line_offset
self.class.line_offset
end
def initialize(view)
@view = view
end