Skip to content

Commit

Permalink
ADDED: Re-added a default initialize that defers to the default init
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed Dec 31, 2010
1 parent 1894b96 commit ed1a9db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Expand Up @@ -3,6 +3,10 @@ STORABLE, CHANGES
* TODO: Handle nested hashes and arrays. * TODO: Handle nested hashes and arrays.
* TODO: to_xml, see: http://codeforpeople.com/lib/ruby/xx/xx-2.0.0/README * 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) ############################# #### 0.8.5 (2010-12-29) #############################


* FIXED: Added calls to preprocess in the to_FORMAT methods. * FIXED: Added calls to preprocess in the to_FORMAT methods.
Expand Down
4 changes: 4 additions & 0 deletions lib/storable.rb
Expand Up @@ -200,6 +200,10 @@ def self.from_hash(from={})
def init *args def init *args
from_array *args from_array *args
end end

def initialize *args
init *args
end


def from_array *from def from_array *from
(self.field_names || []).each_with_index do |n,index| (self.field_names || []).each_with_index do |n,index|
Expand Down

0 comments on commit ed1a9db

Please sign in to comment.