Sha256: 337acbca676c186f9e930e873c5cbfbb9d401eba5a143b509153a8cccd882d89

Contents?: true

Size: 266 Bytes

Versions: 12

Compression:

Stored size: 266 Bytes

Contents

module Jekyll
  module AssetsPlugin
    module Patches
      module ContextPatch

        def site
          self.class.instance_variable_get :@site
        end


        def asset_path *args
          site.asset_path(*args)
        end

      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jekyll-assets-0.4.3 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.5.4 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.5.3 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.5.2 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.5.1 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.5.0 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.4.2 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.4.1 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.4.0 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.3.8 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.3.7 lib/jekyll/assets_plugin/patches/context_patch.rb
jekyll-assets-0.3.6 lib/jekyll/assets_plugin/patches/context_patch.rb