i've been using this
def H _
# Ruby object-literal syntax as HTML constructors
case _
when Hash then
'<'+(_[:_]||:div).to_s+(_.keys-[:_,:c]).map{|a|
' '+a.to_s+'='+"'"+
_[a].to_s.hsub({"'"=>'%27',
'>'=>'%3E',
'<'=>'%3C'})+"'"}.joi
This should work:
Camping.goes :Xmas
module Xmas::Controllers
class Index
def get
render :index
end
end
end
__END__
@@ index.erb
Hello <%= 'world' %>
// Magnus Holm
On Sun, Dec 22, 2013 at 10:26 PM, Tim Uckun wrote:
> How can I use something other than markaby for my views
How can I use something other than markaby for my views? My understanding
is that markaby is very slow.
Thanks.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
3 matches
Mail list logo