Sha256: 9faefc35db207226a15ecd435416e4712e431bb73cf1681640a80a20179edf9a

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

module Runbook::Entities
  class Book < Runbook::Entity
    def initialize(title)
      super(title)
    end

    # Seed data for 'render' tree traversal method
    def self.initial_render_metadata
      {depth: 1, index: 0}
    end

    # Seed data for 'run' tree traversal method
    def self.initial_run_metadata
      {depth: 1, index: 0, position: ""}
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
runbook-0.15.0 lib/runbook/entities/book.rb
runbook-0.14.0 lib/runbook/entities/book.rb
runbook-0.13.0 lib/runbook/entities/book.rb
runbook-0.12.1 lib/runbook/entities/book.rb