class Item def raw_tag_list; "one, two, three, four, five"; end def public_tags; [<#Tag name=two>, <#Tag name=five>, <#Tag name=one>, <#Tag name=four>, <#Tag name=three>]; end ...
Ruby Tag ordering code
Is there a faster way to do...
x = 'My String' x.kind_of? String # => true ...
Ruby x.kind_of? MyClass or x.cla...
It seems like these two are...
class String
def postal?
self.match(/[a-zA-Z]{1}\d{1}[a-zA-Z]{1}([\x20-])*\d{1}[a-zA-Z]{1}\d{1}/) ? true : false
...
Ruby Is This String Postal?
We've had the debate over w...
Is there a less hacky way t...