lib/nanoc/base/context.rb in nanoc-3.7.4 vs lib/nanoc/base/context.rb in nanoc-3.7.5
- old
+ new
@@ -1,13 +1,11 @@
# encoding: utf-8
module Nanoc
-
# Provides a context and a binding for use in filters such as the ERB and
# Haml ones.
class Context
-
# Creates a new context based off the contents of the hash.
#
# Each pair in the hash will be converted to an instance variable and an
# instance method. For example, passing the hash `{ :foo => 'bar' }` will
# cause `@foo` to have the value `"bar"`, and the instance method `#foo`
@@ -40,8 +38,7 @@
#
# @return [Binding] A binding for this instance
def get_binding
binding
end
-
end
end