Sha256: 5646f1d4844e9c4c04c0c0ca6823929ec56a694f10342772126ec075ca50c084

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 Bytes

Contents

# coding: utf-8
# Outputs
class Sheet1 < Spreadsheet
  def a1; "Result"; end
  def b1; @b1 ||= sheet2.a1; end
  def a2; "Input"; end
  def b2; @b2 ||= sheet3.a1; end
  def b3; @b3 ||= sheet2.c9; end
  def b4; "Doesn't depend on an input"; end
  def a6; "Indirect value:"; end
  def b6; @b6 ||= sheet2.a17; end
  def a8; "Indirect table"; end
  def b8; @b8 ||= sheet2.a('c22','c22'); end
  def a9; "table1"; end
  def b11; "B"; end
  def a13; "Indirect table 2"; end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.13 examples/ruby-versions/pruning-ruby/sheets/sheet1.rb
rubyfromexcel-0.0.10 examples/ruby-versions/pruning-ruby/sheets/sheet1.rb
rubyfromexcel-0.0.9 examples/ruby-versions/pruning-ruby/sheets/sheet1.rb
rubyfromexcel-0.0.5 examples/ruby-versions/pruning-ruby/sheets/sheet1.rb