Sha256: e29cc5c1f8822d3ced3cb643efe39d0c944a6aff8b570fe30497e662aea7030f

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

module Sketchily
  ROOT = File.expand_path('../..', __FILE__)

  VIEW = ActionView::Base.new
  VIEW.view_paths << "#{ROOT}/app/views"

  def self.render(options = {}, local_assigns = {}, &block)
    VIEW.render(options, local_assigns, &block)
  end
end

require "sketchily/engine"
require "sketchily/sketchily"
require "sketchily/sketchily_tag"
require "sketchily/sketchily_show"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sketchily-0.0.2 lib/sketchily.rb~