Skip to content

Commit c5fd98f

Browse files
committed
Remove Vector#mounts
1 parent db01d86 commit c5fd98f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

lib/matrixeval/ruby/vector.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
module 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

test/matrixeval/ruby/vector_test.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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?

0 commit comments

Comments
 (0)