mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Get rid of some unnecessary Haml::Plugin methods.
This commit is contained in:
parent
9bf6cfe72a
commit
4ca79f14b4
1 changed files with 0 additions and 12 deletions
|
@ -10,14 +10,6 @@ module Haml
|
||||||
1
|
1
|
||||||
end
|
end
|
||||||
|
|
||||||
def compilable?
|
|
||||||
true
|
|
||||||
end
|
|
||||||
|
|
||||||
def line_offset
|
|
||||||
self.class.line_offset
|
|
||||||
end
|
|
||||||
|
|
||||||
def compile(source)
|
def compile(source)
|
||||||
options = Haml::Template.options.dup
|
options = Haml::Template.options.dup
|
||||||
|
|
||||||
|
@ -32,10 +24,6 @@ module Haml
|
||||||
eval("_hamlout.buffer", block.binding)
|
eval("_hamlout.buffer", block.binding)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def read_template_file(template_path, extension)
|
|
||||||
File.read(template_path)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue