Skip to content

Instantly share code, notes, and snippets.

@dfgrumpy
Created December 12, 2013 05:27
<cfscript>
myObj = createObject("component",'test');
writeDump(myObj.genericContainer());
</cfscript>
component {
public function genericContainer() {
private function helloInt() {
return "Hello There";
}
return {
hello: function(){
return helloInt();
}
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment