lib/shim.rb in shim-0.0.2 vs lib/shim.rb in shim-0.0.3

- old
+ new

@@ -1,18 +1,16 @@ require "shim/version" module Shim - class << self - attr_accessor :layout, :content_path - @layout = "application" - @content_path = "shim/" + mattr_accessor :layout, :content_path + @@content_path = "shim/" + @@layout = "application" - def config(&block) - if block.arity == 1 - self[&block] - else - instance_eval &block - end + def config(&block) + if block.arity == 1 + self[&block] + else + instance_eval &block end end require 'shim/engine' end