Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ADDED: Re-added a default initialize that defers to the default init

  • Loading branch information...
commit ed1a9dba2aef41c7141261274c176501388148de 1 parent 1894b96
@delano authored
Showing with 8 additions and 0 deletions.
  1. +4 −0 CHANGES.txt
  2. +4 −0 lib/storable.rb
View
4 CHANGES.txt
@@ -3,6 +3,10 @@ STORABLE, CHANGES
* TODO: Handle nested hashes and arrays.
* TODO: to_xml, see: http://codeforpeople.com/lib/ruby/xx/xx-2.0.0/README
+#### 0.8.6 (2010-12-31) #############################
+
+* ADDED: Re-added a default initialize that defers to the default init
+
#### 0.8.5 (2010-12-29) #############################
* FIXED: Added calls to preprocess in the to_FORMAT methods.
View
4 lib/storable.rb
@@ -200,6 +200,10 @@ def self.from_hash(from={})
def init *args
from_array *args
end
+
+ def initialize *args
+ init *args
+ end
def from_array *from
(self.field_names || []).each_with_index do |n,index|
Please sign in to comment.
Something went wrong with that request. Please try again.