Skip to content

Instantly share code, notes, and snippets.

View grillermo's full-sized avatar
💭
Working to deliver magic!

Guillermo Siliceo grillermo

💭
Working to deliver magic!
View GitHub Profile
@grillermo
grillermo / fast_experiment.rb
Created November 15, 2019 22:55 — forked from jonatas/fast_experiment.rb
Try to automated replace create for build_stubbed in specs
require 'rubygems'
require 'fast'
def nice_experiment_with(file)
parts = file.split('/')
dir = parts[0..-2]
filename = "experiment_#{parts[-1]}"
File.join(*dir, filename)
end