Nathan Weizenbaum
016df4b6b2
Use 'extend self' for all-class-method modules.
2009-04-22 13:45:26 -07:00
Nathan Weizenbaum
8f2d57722f
[Sass] Do a more in-depth parse of selectors.
2009-03-27 23:13:59 -07:00
Nathan Weizenbaum
f6f53a4b2e
enum_with_index is called each_with_index in 1.9.
2009-01-22 16:40:59 -08:00
Nathan Weizenbaum
5a45acf113
Merge branch 'stable'
...
Conflicts:
lib/haml/util.rb
2009-01-22 16:40:44 -08:00
Nathan Weizenbaum
8e1b40e31f
Compatibility with 1.9 *_methods methods which return symbols.
2009-01-22 16:30:34 -08:00
Nathan Weizenbaum
d404d955e8
Add a Haml::Util module to stable.
2009-01-22 16:30:31 -08:00
Nathan Weizenbaum
4f5a9b2861
Add a way to make "static" methods for faster Haml::Buffer dispatch.
...
Rather than passing in a bunch of boolean variables at runtime,
we compile the method once for each possible combination of variable values.
It makes the code twisty and nasty, but Buffer needs all the speed it can get.
2008-12-28 13:23:38 -08:00
Nathan Weizenbaum
24bd863573
Add a Haml::Util class for nifty utility functions.
2008-11-22 19:17:06 -08:00
Nathan Weizenbaum
a482316cd6
Get rid of Hash#rec_merge! in favor of a non-monkeypatched solution.
2008-04-29 20:06:35 -07:00
Nathan Weizenbaum
2c32f081cf
Make is_haml? a method of Object.
2008-04-29 19:13:30 -07:00
nex3
63c8cf6ba5
Don't really want to recursively merge arrays in the options hash.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@452 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-26 05:33:41 +00:00
nex3
1f112ca018
Forgot to add a whole bunch of files.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@451 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-25 19:07:16 +00:00