File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 33module Matrixeval
44 module Ruby
55 class Vector
6- attr_reader :key , :variants , :mounts
6+ attr_reader :key , :variants
77
88 def initialize ( key , config )
99 @key = key . to_s
10- @mounts = config [ "mounts" ] || [ ]
1110 @variants = ( config [ "variants" ] || [ ] ) . map do |variant_config |
1211 config = if variant_config . is_a? ( Hash )
1312 variant_config
Original file line number Diff line number Diff line change @@ -16,11 +16,6 @@ def test_variants_with_hash
1616 assert_equal "3.1" , variants [ 0 ] . key
1717 end
1818
19- def test_mounts
20- vector = Matrixeval ::Ruby ::Vector . new ( 'ruby' , { "mounts" => [ '/a' , '/b' ] } )
21- assert_equal [ '/a' , '/b' ] , vector . mounts
22- end
23-
2419 def test_main
2520 vector = Matrixeval ::Ruby ::Vector . new ( 'ruby' , { } )
2621 assert vector . main?
You can’t perform that action at this time.
0 commit comments