Class: Osaka::Numbers
- Inherits:
-
TypicalApplication
- Object
- TypicalApplication
- Osaka::Numbers
- Defined in:
- lib/osaka/numbers.rb
Instance Attribute Summary
Attributes inherited from TypicalApplication
Instance Method Summary collapse
- #fill_cell(row, column, value) ⇒ Object
-
#initialize ⇒ Numbers
constructor
A new instance of Numbers.
Methods inherited from TypicalApplication
#activate, #create_print_dialog, #open, #print_dialog, #quit, #save
Constructor Details
#initialize ⇒ Numbers
Returns a new instance of Numbers.
5 6 7 |
# File 'lib/osaka/numbers.rb', line 5 def initialize super "Numbers" end |
Instance Method Details
#fill_cell(row, column, value) ⇒ Object
9 10 11 |
# File 'lib/osaka/numbers.rb', line 9 def fill_cell(row, column, value) @wrapper.tell("tell document 1; tell sheet 1; tell table 1; set value of cell #{column} of row #{row} to \"#{value}\"; end tell; end tell; end tell") end |