Parent

Methods

Class/Module Index [+]

Quicksearch

Nanoc::Helpers::Capturing::CapturesStore

@api private

Public Class Methods

new() click to toggle source
# File lib/nanoc/helpers/capturing.rb, line 41
def initialize
  @store = {}
end

Public Instance Methods

[](item, name) click to toggle source
# File lib/nanoc/helpers/capturing.rb, line 50
def [](item, name)
  @store[item.identifier] ||= {}
  @store[item.identifier][name]
end
[]=(item, name, content) click to toggle source
# File lib/nanoc/helpers/capturing.rb, line 45
def []=(item, name, content)
  @store[item.identifier] ||= {}
  @store[item.identifier][name] = content
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.