Class: Osaka::Numbers

Inherits:
TypicalApplication show all
Defined in:
lib/osaka/numbers.rb

Instance Attribute Summary

Attributes inherited from TypicalApplication

#wrapper

Instance Method Summary collapse

Methods inherited from TypicalApplication

#activate, #create_print_dialog, #open, #print_dialog, #quit, #save

Constructor Details

#initializeNumbers

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