#!/usr/bin/env ruby require "bundler/setup" require "spreadshit" require "pry" @sheet = Spreadshit.new @sheet[:A1] = 10 @sheet[:A2] = "0" @sheet[:A3] = "=A1 + A2" @sheet[:B1] = 0 @sheet[:B2] = 1 3.upto(300).each do |n| @sheet["B#{n}"] = "=B#{n - 1} + B#{n - 2}" end Pry.start