public
Description: Morph makes it easy to emerge Ruby class definitions at runtime. Mix with Hpricot for screen scrapping fun.
Homepage: http://github.com/robmckinnon/morph
Clone URL: git://github.com/robmckinnon/morph.git
robmckinnon (author)
Mon Apr 13 05:56:37 -0700 2009
commit  4fab1d298c45d84fcacc51be368ab12fbda82ac1
tree    d14fa098023ad210712617d82e885acc5cc68754
parent  8840159bc0e273cee215f916b7e2e558134e7455
morph / CHANGELOG
100644 28 lines (14 sloc) 0.849 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
v0.2.7. handle dash when converting to method name, reported by danwrong
 
v0.2.6. handle more types of value types in from_hash()
 
v0.2.5. camelize names for classes in from_hash()
 
v0.2.4. from_hash() creates classes in Morph namespace and handles arrays of hashes
 
v0.2.3. added Morph.from_hash method
 
v0.2.2. changed rubygem requirement to be >= 1.2 instead of = 1.2
 
v0.2.1. better accomodation of unicode method names
 
v0.2.0. added script_generate method; fixed bug occurring when two morph classes exist
 
v0.1.5. added morph_attributes instance method
 
v0.1.4. can now pass code block to customize the dynamically added methods
 
v0.1.3. can now set hash of attributes via morph method
 
v0.1.2. fixed problems in packaging of v0.1.1 gem
 
v0.1.1. calling unknown reader method no longer adds accessor methods to class
 
v0.1.0. initial release