Sha256: 82341d7ca9e910f3e243a50cbb036aafeead61425bd68753e9f4d5a1ded4aaa2

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

class SlimContext
  attr_accessor :params

  def initialize(site_context)
    # XXX: Hopefully user won't overwrite this instance variable
    @__site = site_context
  end

  def site
    @__site
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-slim-0.9.1 lib/jekyll-slim/slim_context.rb
jekyll-slim-0.9.0 lib/jekyll-slim/slim_context.rb