Sha256: df0503906ae14088542c2361b45ba6602e9849b4066db02b507d9ff39bf12c07

Contents?: true

Size: 684 Bytes

Versions: 17

Compression:

Stored size: 684 Bytes

Contents

class StylesheetsDataset < Dataset::Base
  uses :home_page
  
  def load
    create_page "css", :slug => 'css', :class_name => 'StylesheetPage' do
      create_page "site.css", :slug => 'site.css', :class_name => 'StylesheetPage' do
        create_page_part 'site_css_body', :name => 'body', :content => 'p { color: blue; }'
      end
      create_page "sassy.sass", :slug => 'sassy.sass', :class_name => 'StylesheetPage' do
        create_page_part 'sass_body', :name => 'body', :content => 'header
  background: red', :filter_id => 'Sass'
      end
      create_page "container.css", :body => '<r:stylesheet slug="sassy.css" />', :class_name => 'StylesheetPage'
    end
  end
  
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
radiant-sheets-extension-1.1.0 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.1.0.alpha spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.11 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.10 spec/datasets/stylesheets_dataset.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-sheets-extension-1.0.8/spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.9 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.8 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.7 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.6 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.5 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.4 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.3 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.2 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.1 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.0 spec/datasets/stylesheets_dataset.rb
radiant-sheets-extension-1.0.0.pre spec/datasets/stylesheets_dataset.rb
radiant-1.0.0.rc2 vendor/extensions/sheets/spec/datasets/stylesheets_dataset.rb