Sha256: 0f069b67df56bcadb9a25a8b36cfb46a3a2769c97d0465edf531ffdc78e83702

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.4 examples/ruby-versions/pruning-ruby/sheets/sheet2.rb