On Friday, April 12, 2013 at 09:59, Graham Christensen wrote:
Hi Cassiano,A common trick to implement this, which I've seen across a number of LWRPs is to do::kind_of => [TrueClass, FalseClass]--Graham ChristensenOn Friday, April 12, 2013 at 8:56 AM, Cassiano Leal wrote:
Ohai Chefs!What's the "correct" way to have a boolean attribute in a LWRP? There's no Boolean class in Ruby, soattribute :some_boolean, :kind_of => Boolean, :default => falseis not possible.What's the solution?Thanks,- cassiano
Archive powered by MHonArc 2.6.16.