You're right that String#first is an ActiveSupport addition. Removed 
from stable and trunk.

As for dump,

$ ruby -e "puts 'foo'.dump"
"foo"

It returns a representation of the string such that eval(str.dump) == 
str. I believe it's always equivalent to String#inspect.

- Nathan

manveru wrote:
> Haml 1.7.0 broke support for Haml in ramaze, while trying to fix it i
> found following issues:
>
> String#first, which is, as far as i could find out, a railism is used
> in Haml:
> haml-1.7.0/lib/haml/engine.rb around line 712
> http://pastie.caboo.se/79895
> should be:
> http://pastie.caboo.se/79899
>
> Also, i have no idea what String#dump may be, is that another railism?
>
> thanks in advance,
> ^ manveru
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to