Skip to content

Version 0.07

Compare
Choose a tag to compare
@trizen trizen released this 07 Jul 22:55
· 3310 commits to master since this release

What's new:

  • Added support for nexting two or more loops with next(n). (b9b242e)
  • Added the Array.each_index{...} method to iterate over the indices. (e950204)
  • Added the .dump method for user-defined classes. (758ab9c)
  • Added the Class.__class__ method to get the class of an object (502a5ec)
  • Added the FileHandle and DirHandle types. (5c80e36)
  • Added the .levenshtein method for String and Array objects. (f32aae1)
  • Added the .METHODS method for user-defined classes. (6122dd9)
  • Added the .method method for user-defined classes. (dbf29e5)

Improvements:

  • Improved the .METHODS method for built-in types. (aaa3382)
  • Array.count now accepts a block of code for counting items. (f32aae1)
  • Improved the parsing of classes and the parsing of return types from functions. (5c80e36)
  • Minor performance improvements. (46b5379, 1a44f27)

Changes:

  • Changed slightly the behavior of the smartmatch operator (~~) (b1d44e1)
  • Undefined method calls for user-defined classes are now fatal. (858420f)
  • File.<=> and File.cmp no longer refer to File.compare (e060408)
  • Removed the following operators: ??, $$ and ^^. (dad6bd3)
  • Merged the PipeHandle object into FileHandle. (5c80e36)
  • Renamed has_method into respond_to for user-defined classes. (dbf29e5)

Bug-fixes:

  • Fixed a minor bug related to array autovivification on slice creation. (3b7ee7e)
  • Minor fix for parsing type-constants. (966223c)

More changes: 0.06...0.07