Brian Candler
3/22/2007 8:09:00 PM
On Thu, Mar 22, 2007 at 02:21:18PM +0900, John Joyce wrote:
> Does eRuby parse CSS ?
eRuby doesn't parse anything really, apart from extracting <% .. %> tags.
There's nothing to stop you writing CSS files that have snippets of
<%= ... %> embedded in them.
As it happens, I've just been generating Cisco IOS configuration files using
erb within Rails.
!
interface FastEthernet 0/0
ip address <%= lan_ipaddr %> <%= lan_netmask %>
Regards,
Brian.