lib/ridley/resources/sandbox.rb in ridley-0.3.2 vs lib/ridley/resources/sandbox.rb in ridley-0.4.0

- old
+ new

@@ -109,14 +109,14 @@ module DSL # Coerces instance functions into class functions on Ridley::Sandbox. 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::Sandbox def sandbox - Context.new(Ridley::Sandbox, self) + ChainLink.new(self, Ridley::Sandbox) end end end