Sha256: 3162a1965906b5b118a91e3e24de9fae8bafccf8edd6df42d6a8da4f9616d277
Contents?: true
Size: 408 Bytes
Versions: 3
Compression:
Stored size: 408 Bytes
Contents
require 'contracts' require 'rakuna/provides/output' module Rakuna module Provides module HTML include Contracts include Rakuna::Provides::Output Contract None => ArrayOf[Array] def content_types_provided @content_types_provided ||= super << ['text/html', :to_html] end Contract None => String def to_html output end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rakuna-core-1.0.2 | lib/rakuna/provides/html.rb |
rakuna-core-1.0.1 | lib/rakuna/provides/html.rb |
rakuna-core-1.0.0 | lib/rakuna/provides/html.rb |