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:
parent
c2bb93b5f8
commit
46f1977ea1
2 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue