Sha256: b036a0617de222d4905ffb32846bc38d0c8061229f78cbf696f367db8becabf9

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

require "shim/version"

module Shim
  class << self
    attr_accessor :layout, :content_path
    @layout = "application"
    @content_path = "shim/"

    def config(&block)
      if block.arity == 1
        self[&block]
      else
        instance_eval &block
      end
    end
  end

  require 'shim/engine'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shim-0.0.2 lib/shim.rb
shim-0.0.1 lib/shim.rb