lib/ridley/resources/cookbook.rb in ridley-0.3.2 vs lib/ridley/resources/cookbook.rb in ridley-0.4.0
- old
+ new
@@ -40,14 +40,14 @@
module DSL
# Coerces instance functions into class functions on Ridley::Cookbook. This coercion
# sends an instance of the including class along to the class function.
#
- # @see Ridley::Context
+ # @see Ridley::ChainLink
#
- # @return [Ridley::Context]
+ # @return [Ridley::ChainLink]
# a context object to delegate instance functions to class functions on Ridley::Cookbook
def cookbook
- Context.new(Ridley::Cookbook, self)
+ ChainLink.new(self, Ridley::Cookbook)
end
end
end