lib/nanoc3/base/rule_context.rb in nanoc3-3.1.3 vs lib/nanoc3/base/rule_context.rb in nanoc3-3.1.4
- old
+ new
@@ -12,10 +12,10 @@
# * `config` ({Hash}) - The site configuration
# * `items` ({Array}<{Nanoc3::Item}>) - A list of all items
# * `layouts` ({Array}<{Nanoc3::Layout}>) - A list of all layouts
class RuleContext < Context
- # Creates a new rule context for the given iterm representation.
+ # Creates a new rule context for the given item representation.
#
# @param [Nanoc3::ItemRep] rep The item representation for which to create
# a new rule context.
def initialize(rep)
item = rep.item