Sha256: 171b5523e9ac2641d3401489ec14b5888adcec9281a223e4855fce4c82e6dd1c

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 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"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sketchily-0.2.0 lib/sketchily.rb
sketchily-0.1.0 lib/sketchily.rb
sketchily-0.0.2 lib/sketchily.rb