search for: serviaavar

Displaying 1 result from an estimated 1 matches for "serviaavar".

2007 Aug 21
4
communication between classes / hosts
...} } # # class serviceA { $serviceAvar = "bull" } # #serviceBconfig.erb <%= serviceA::serviceAvar %> # I tried escaping the "::" and stuff but couldnĀ“t get this to work. 3. More of a question than a "not working": How would I get the value of "serviceA::serviaAvar" if the classes are applied on different hosts? This is really simplified as in reality ServiceA and ServiceB configure themselves and each other, the value of serviceAvar is choosen by a switch and all of this is actually happening in a definition as these services have to be instatiable....