Module: Rakuna::Provides::HTML
- Includes:
- Contracts, Output
- Defined in:
- lib/rakuna/provides/html.rb
Instance Method Summary collapse
Methods included from Output
Instance Method Details
#content_types_provided ⇒ Object
11 12 13 |
# File 'lib/rakuna/provides/html.rb', line 11 def content_types_provided @content_types_provided ||= super << ['text/html', :to_html] end |
#to_html ⇒ Object
16 17 18 |
# File 'lib/rakuna/provides/html.rb', line 16 def to_html output end |