Hi,
I am trying to this using gsub.
<- Variable_Name -> ==> <%= Variable_Name %>
Currently, I am doing it by changing the <- to <%= and -> to %>
separately.... but I need to do it as whole... as gsub (<- some_text
->) ==>(<%= some_text %>)
I hope i am clear!
Thanks and regards,
Mohit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---