ruby/trema/dsl/link.rb in trema-0.4.6 vs ruby/trema/dsl/link.rb in trema-0.4.7
- old
+ new
@@ -22,11 +22,11 @@
module DSL
class Link
attr_reader :peers
- def initialize peer0, peer1
- @peers = [ peer0, peer1 ]
+ def initialize(peer0, peer1)
+ @peers = [peer0, peer1]
end
end
end
end