Sha256: 4b8f286fe01d3e1b6b6b971e0c39fb5a236bba58f335046df85118569280b96a

Contents?: true

Size: 656 Bytes

Versions: 6

Compression:

Stored size: 656 Bytes

Contents

# coding: utf-8
# Preferences
class Sheet2 < Spreadsheet
  def b3; "Energy is measured in:"; end
  def c3; "TWh"; end
  def e3; "Equivalent to"; end
  def f3; @f3 ||= 1.0/:name; end
  def g3; "Joules"; end
  def b5; "Power is measured in:"; end
  def c5; "GW"; end
  def e5; "Equivalent to"; end
  def f5; @f5 ||= 1.0/:name; end
  def g5; "Watts"; end
  def b7; "Area is measured in:"; end
  def c7; "km^2"; end
  def e7; "Equivalent to"; end
  def f7; @f7 ||= 1.0/:name; end
  def g7; "Square metres"; end
  def b9; "Money is measured in:"; end
  def c9; "£m"; end
  def e9; "Equivalent to"; end
  def f9; @f9 ||= 1.0/:name; end
  def g9; "£"; end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.23 examples/ruby-versions/test2-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.22 examples/ruby-versions/test2-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.21 examples/ruby-versions/test2-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.20 examples/ruby-versions/test2-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.19 examples/ruby-versions/test2-ruby/sheets/sheet2.rb
rubyfromexcel-0.0.18 examples/ruby-versions/test2-ruby/sheets/sheet2.rb