Sha256: 37c045cba9ec1e71d53a02a7856621cb6d949f7c6619ce3981fee33f19f45609

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

class Brief::Epic
  include Brief::Model

  meta do
    title String
    status String, :in => %w(draft published)
  end

  content do
    title "h1:first-child"

    define_section "User Stories" do
      has_many :user_stories, "h2" => "title", "p:first-child" => "paragraph"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brief-1.0.0 spec/fixtures/example/models/epic.rb