module RSpec::Resources::DSL::Actions
Public Instance Methods
instantiate_path(path, obj)
click to toggle source
# File lib/rspec/resources/dsl/actions.rb, line 119 def instantiate_path(path, obj) path.gsub(/:\w+/) { |s| obj[s[1..-1]] } end