Sha256: fd07c3766cfbf58858c85e03cfa774235dc7d66055064e8273a1c94fe32a327c

Contents?: true

Size: 354 Bytes

Versions: 18

Compression:

Stored size: 354 Bytes

Contents

# encoding: UTF-8

module Spontaneous::Prototypes
  class LayoutPrototype < StylePrototype
    def schema_name
      "layout/#{owner.schema_id}/#{name}"
    end

    def layout(owner)
      Spontaneous::Layout.new(owner, self)
    end

    def formats
      Spontaneous::Render.formats(self)
    end
  end # LayoutPrototype
end # Spontaneous::Prototypes

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta9 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta8 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta7 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta6 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta5 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta4 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta3 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta2 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.beta1 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.alpha7 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.alpha6 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.alpha5 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.alpha4 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.alpha3 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.alpha2 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.2.0.alpha1 lib/spontaneous/prototypes/layout_prototype.rb
spontaneous-0.1.0.alpha1 lib/spontaneous/prototypes/layout_prototype.rb