Class: Slick::Web::FileInterpreter
Constant Summary
Constants included from Helpers
Helpers::SELF_CLOSING_TAGS, Helpers::TAGS, Helpers::TEXT_ONLY_TAGS
Instance Attribute Summary
Attributes included from Registry
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Registry
create, for, register, registered?, registered_classes
Methods included from Helpers
#html_tag, #indent, #line, #text
Class Method Details
.interpret(file, &block) ⇒ Object
11 12 13 |
# File 'lib/slick/web/file_interpreter.rb', line 11 def interpret(file, &block) create(file.extension).interpret(file, &(block || Proc.new{})) end |