Commit Graph
230 Commits
Author SHA1 Message Date
José Valim 4fed302df0 Properly fix line break in strings. 2011-06-25 11:09:17 -03:00
José Valim a982ed9ad6 Also escape \r and \n from strings. 2011-06-25 10:51:36 -03:00
José Valim 7c5288ad1c String inspect properly handle quoted strings and interpolation. 2011-06-25 01:20:16 -03:00
José Valim 0deab478de Improve syntax errors. 2011-06-25 00:42:55 -03:00
Xavier Perez 56be7d203d Removed old nthtail tests 2011-06-24 20:51:41 +02:00
Xavier Perez a14d57ca62 Replaced list#nthtail by a bracket slice 2011-06-24 20:50:13 +02:00
Xavier Perez 176492732b Changed list#replicate to the * operator 2011-06-24 20:24:23 +02:00
Xavier Perez f7562e2451 Added nthtail, duplicate and flatlength to lists 2011-06-17 18:26:08 +02:00
Xavier Perez 4cff0c7f87 Added Max/Min/Sum, any? to Lists 2011-06-16 11:23:11 +02:00
Xavier Perez bd8451de48 Added dropwhile, partition and splitwith to lists 2011-06-16 11:23:11 +02:00
José Valim fe63706b21 Add Module.eval and Module.stacktrace. 2011-06-13 20:26:31 +02:00
José Valim 861c4814d2 Cleanup ROADMAP. 2011-06-13 18:42:27 +02:00
José Valim 4c310fe5f3 Add remove_ivar method. 2011-06-13 18:39:31 +02:00
José Valim 3008161515 Allow bind operator without parens. 2011-06-11 12:05:50 +02:00
José Valim 50160851f5 no_constant exception is now no_module. 2011-06-10 21:12:46 +02:00
José Valim a62808c766 Test binding exceptions. 2011-06-10 21:10:12 +02:00
José Valim 50369a2ca7 Allow rebinding. 2011-06-10 20:48:01 +02:00
José Valim 2b40094d38 Added with the method used for benchmarking. 2011-06-10 14:01:38 +02:00
José Valim e6fff06412 Clean up Regexp API. 2011-06-10 13:38:53 +02:00
José Valim 7efeb8705f Add explicit to_str conversion. 2011-06-10 13:19:14 +02:00
José Valim 50bb9ab0ea Tidy up conversions. 2011-06-10 13:19:14 +02:00
José Valim d23425a8fe Allow nested brackets, closes #28 2011-06-08 15:16:43 +02:00
José Valim a6fc72ae25 Merge pull request #30 from marcinbunsch/master
Making tuples not raise 'badarg error when [] called with out ouf bounds index. Return nil instead.
2011-06-08 06:06:02 -07:00
José Valim 8b42831152 Bring Ruby method dispatching semantics. Local calls only apply to private methods from now on. 2011-06-08 11:41:57 +02:00
José Valim aa0a78bfad Keep private methods counter as well. 2011-06-08 11:03:50 +02:00
José Valim 6e12eed531 More tests. 2011-06-06 10:32:49 +02:00
José Valim be88780a54 Bring old code back. 2011-06-06 10:27:11 +02:00
José Valim d7c95a8c80 Add respond_to? and __send__. 2011-06-06 10:20:05 +02:00
José Valim dadb66fa5e Update error messages. 2011-06-06 08:42:27 +02:00
José Valim 11e9775e8e No need to pass kind around. 2011-06-04 22:55:27 +02:00
Marcin Bunsch c323822cd6 Making tuples not raise 'badarg error when [] called with out ouf bounds index. Return nil instead. 2011-06-04 20:16:21 +02:00
José Valim ecab475b31 More README fix. 2011-06-04 19:55:18 +02:00
José Valim f13ecd0f58 Fix precedence on binding + method call. 2011-06-04 19:55:18 +02:00
José Valim 62c3931d4c Fix failing tests. 2011-06-04 19:55:18 +02:00
José Valim 15ed988dae Remove unused methods. 2011-06-04 19:55:17 +02:00
José Valim e52f20f31f Remove remaining objects. 2011-06-04 19:55:17 +02:00
José Valim 8b61a6b5e4 Use binding on Regexp. 2011-06-04 19:55:17 +02:00
José Valim e0156ce111 Converting more and more to the binding format. 2011-06-04 19:55:16 +02:00
José Valim a3852fc752 Use binding on methods. 2011-06-04 19:55:16 +02:00
José Valim 008b2467e2 Convert builtin to use bindings. 2011-06-04 19:55:16 +02:00
José Valim de0309cacd ExUnit now run with bindings. 2011-06-04 19:55:16 +02:00
José Valim 87eb86c732 More work on binding. 2011-06-04 19:55:16 +02:00
José Valim dbeb1d85de If dispatching to a constant, resolve it a compile time. 2011-06-01 23:25:10 +02:00
José Valim a91372aa79 Ensure parent returns nil. 2011-06-01 16:10:58 +02:00
Xavier Perez 2468b80816 Remove take from List 2011-05-30 21:38:05 +02:00
Xavier Perez 0f3013d91d Changed Regex to accept a type argument 2011-05-30 21:07:41 +02:00
Xavier Perez 2217b88bdf Added capitalize, index and chop to String 2011-05-30 20:48:51 +02:00
Xavier Perez 42a984df04 Added split and insert to Lists 2011-05-30 18:15:40 +02:00
Xavier Perez 7144ebe3b7 Added take and takewhile to Lists 2011-05-30 18:00:06 +02:00
José Valim 49f44e9bf9 Remove needless self. 2011-05-30 13:27:17 +02:00