Sha256: 78db36112447a867065919f28ca1453d4b8fdbb42531dfadca0449d446077b46

Contents?: true

Size: 339 Bytes

Versions: 12

Compression:

Stored size: 339 Bytes

Contents

# coding: utf-8
# Calcs
class Sheet2 < Spreadsheet
  def a1; @a1 ||= sum(a('a2','a7')); end
  def a2; 1.0; end
  def a3; 2.0; end
  def a4; @a4 ||= sheet3.a1; end
  def a5; 4.0; end
  def a6; 10.0; end
  def a7; 5.0; end
  def c8; "Inputs"; end
  def c9; @c9 ||= sheet3.a3; end
  def a17; @a17 ||= a4; end
  def c22; @c22 ||= a4; end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.23 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.22 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.21 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.20 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.19 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.18 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.17 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.16 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.13 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.10 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.9 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.5 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb