Sha256: 3c56cee38fabde69824f351bfe9d5b4955cc706216037bcd427f6d5b2a053f2c
Contents?: true
Size: 401 Bytes
Versions: 32
Compression:
Stored size: 401 Bytes
Contents
class MarkupPagesDataset < Dataset::Base uses :home_page def load create_page "Textile" do create_page_part :textile_body, :name => "body", :filter_id => "Textile", :content => "Some *Textile* content." end create_page "Markdown" do create_page_part :markdown_body, :name => "body", :filter_id => "Markdown", :content => "Some **Markdown** content." end end end
Version data entries
32 entries across 32 versions & 5 rubygems