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