Skip to content

Commit 1fefd82

Browse files
committed
Switch Grape::API's @setup var to an Array (from a Set)
1 parent 9b64050 commit 1fefd82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def inherited(api)
4040
# an instance that will be used to create the set up but will not be mounted
4141
def initial_setup(base_instance_parent)
4242
@instances = []
43-
@setup = Set.new
43+
@setup = []
4444
@base_parent = base_instance_parent
4545
@base_instance = mount_instance
4646
end

0 commit comments

Comments
 (0)