class GoogleCells::Cell
Attributes
input_value[R]
Public Instance Methods
input_value=(v)
click to toggle source
# File lib/google_cells/cell.rb, line 11 def input_value=(v) @input_value = v worksheet.track_changes(self) v end
to_xml()
click to toggle source
# File lib/google_cells/cell.rb, line 17 def to_xml <<-EOS <entry> <batch:id>#{e(row)},#{e(col)}</batch:id> <batch:operation type="update"/> <id>#{e(id)}</id> <link rel="edit" type="application/atom+xml" href="#{e(edit_url)}"/> <gs:cell row="#{e(row)}" col="#{e(col)}" inputValue="#{e(input_value)}"/> </entry> EOS end