lib/ramaze/snippets/ramaze/struct.rb in ramaze-2011.12.28 vs lib/ramaze/snippets/ramaze/struct.rb in ramaze-2012.03.07

- old
+ new

@@ -1,7 +1,7 @@ # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com -# All files in this distribution are subject to the terms of the Ruby license. +# All files in this distribution are subject to the terms of the MIT license. module Ramaze class Struct < ::Struct # Makes it possible to access the keys directly by their name, not only # their index. The original Struct#values_at tries to call #to_int on the