Removing use of String#first, which is only defined in ActiveSupport. Thanks to manveru.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@570 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
c98c33ac17
commit
5fb8570f1b
|
@ -728,7 +728,7 @@ END
|
|||
when '=', '~'
|
||||
parse = true
|
||||
|
||||
if value.first == '='
|
||||
if value[0] == ?=
|
||||
value = value[1..-1].strip.dump.gsub('\\#', '#')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue