1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

adding ranges as expressions, they get expanded into the equivalent array

This commit is contained in:
Jeremy Ashkenas 2010-01-05 22:17:09 -05:00
parent c2bb93b5f8
commit 46f1977ea1
2 changed files with 11 additions and 2 deletions

View file

@ -5,7 +5,7 @@ module CoffeeScript
class Value
attr_reader :value, :line
def initialize(value, line)
def initialize(value, line=nil)
@value, @line = value, line
end