I just realized I forgot to make a note that I wrote no tests for this as it passes already. Sadly, it also passes before my patch so we might need some regression tests [is that the right phrase?] or something. I dunno. Lemme know if you want me to write up [ie, invent] tests for it or if I need to change anything else. Yay, my first Haml patch!
RSL On Jan 12, 1:19 pm, "Russell Norris" <[EMAIL PROTECTED]> wrote: > Index: lib/haml/template/plugin.rb > =================================================================== > --- lib/haml/template/plugin.rb (revision 727) > +++ lib/haml/template/plugin.rb (working copy) > @@ -7,7 +7,19 @@ > def self.line_offset > 1 > end > + > + def self.compilable? > + true > + end > + > + def compilable? > + self.class.compilable? > + end > > + def line_offset > + self.class.line_offset > + end > + > def initialize(view) > [EMAIL PROTECTED] = view > end --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
