# File lib/ramaze/helper/xhtml.rb, line 38 def css(name, media = 'screen', options = {}) if media.respond_to?(:keys) options = media media = 'screen' end if only = options.delete(:only) and only.to_s == 'ie' "<!--[if IE]>#{css(name, media, options)}<![endif]-->" else if name =~ /^http/ LINK_TAG % [name, media] else prefix = options[:prefix] || 'css' LINK_TAG % [ "#{Ramaze.options.prefix.chomp("/")}/#{prefix}/#{name}.css", media ] end end end