Sha256: d45ce149490ce3191f1112b1ed8e789a1ed532a7d8d2ed65c194a051635f38c6
Contents?: true
Size: 251 Bytes
Versions: 29
Compression:
Stored size: 251 Bytes
Contents
Given /^I put the '(\w+)' object on key '(\w+)' of the '(\w+)' hash of '(\w+)'$/ do |value_name, key, assoc, doc_name| value = instance_variable_get("@#{value_name}") doc = instance_variable_get("@#{doc_name}") doc.send(assoc)[key] = value end
Version data entries
29 entries across 29 versions & 2 rubygems