Sha256: f0275bc9ff143d3a5350f24caacab5b29ee8438a093beb63e85443a886fe0429

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

#!/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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spreadshit-0.2.0 bin/console
spreadshit-0.1.1 bin/console
spreadshit-0.1.0 bin/console