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:
parent
b257b69c33
commit
75be1d1fbf
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue