Sha256: 8be0aea86956f6e102bd3a7567af8205232b5c52f242dd960add101b1cc9b6b8

Contents?: true

Size: 712 Bytes

Versions: 2

Compression:

Stored size: 712 Bytes

Contents

# coding: utf-8
# 中间结果
class Sheet2 < Spreadsheet
  def b5; "产出"; end
  def c5; 2010.0; end
  def d5; 2015.0; end
  def e5; 2020.0; end
  def f5; 2025.0; end
  def g5; 2030.0; end
  def h5; 2035.0; end
  def i5; 2040.0; end
  def j5; 2045.0; end
  def k5; 2050.0; end
  def b6; "T.01"; end
  def c6; @c6 ||= sheet5.a('c32','c32'); end
  def d6; @d6 ||= sheet5.a('d32','d32'); end
  def e6; @e6 ||= sheet5.a('e32','e32'); end
  def f6; @f6 ||= sheet5.a('f32','f32'); end
  def g6; @g6 ||= sheet5.a('g32','g32'); end
  def h6; @h6 ||= sheet5.a('h32','h32'); end
  def i6; @i6 ||= sheet5.a('i32','i32'); end
  def j6; @j6 ||= sheet5.a('j32','j32'); end
  def k6; @k6 ||= sheet5.a('k32','k32'); end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.23 examples/ruby-versions/2050example-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.22 examples/ruby-versions/2050example-ruby/sheets/sheet2.rb