summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-08 23:43:54 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-08 23:43:54 +0200
commit565060421d086fdc8e5f58179b45181b11b5cd63 (patch)
tree36db5873e7b130225f4497f919015b3edf4c4716 /lib
parent6c0975a3771171ff5ee611d29ef101c189440947 (diff)
downloadedoors-ruby-565060421d086fdc8e5f58179b45181b11b5cd63.zip
edoors-ruby-565060421d086fdc8e5f58179b45181b11b5cd63.tar.gz
Link: add nil default values to initialize
Diffstat (limited to 'lib')
-rw-r--r--lib/evendoors/link.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/evendoors/link.rb b/lib/evendoors/link.rb
index b2a9bba..d871f1c 100644
--- a/lib/evendoors/link.rb
+++ b/lib/evendoors/link.rb
@@ -6,7 +6,7 @@ module EvenDoors
#
class Link
#
- def initialize src, dsts, fields, cond_fields, cond_value
+ def initialize src, dsts, fields=nil, cond_fields=nil, cond_value=nil
@src = src # link source name
@dsts = dsts # , separated destinations to apply to the particle on linking success
@fields = fields # , separated fields to apply to the particle on linking success