Should I always be able to access the node object in libraries? Julian Dunn wrote a great post on writing libraries here, but there’s no reference to a node object.
Unfortunately, I don’t have a specific example, but I know I’ve come across cases where I have to pass the node object from a recipe into a library method because the library didn’t know about the node object itself. I believe the differences come into play when you create a proper library using ruby modules (as in Julian’s post) vs. just adding helper methods with no namespacing.
Curtis StewartConsultantSkype cstewart8710
Archive powered by MHonArc 2.6.16.