1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

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

git-svn-id: svn://hamptoncatlin.com/haml/tags/stable@728 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2008-01-14 00:52:16 +00:00
parent b257b69c33
commit 75be1d1fbf

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