method
brush_for
rails latest stable - Class:
RailsGuides::TextileExtensions
brush_for(code_type)public
No documentation available.
# File railties/guides/rails_guides/textile_extensions.rb, line 36
def brush_for(code_type)
case code_type
when 'ruby', 'sql', 'plain'
code_type
when 'erb'
'ruby; html-script: true'
when 'html'
'xml' # html is understood, but there are .xml rules in the CSS
else
'plain'
end
end