class ExcelXml::Field
Public Instance Methods
content?()
click to toggle source
# File lib/excelxml/worksheet.rb, line 96 def content? return !self.empty? end
fixnum?()
click to toggle source
# File lib/excelxml/worksheet.rb, line 91 def fixnum? return Integer(self) rescue return false end
string?()
click to toggle source
# File lib/excelxml/worksheet.rb, line 99 def string? return (self.content? and !self.fixnum?) end
to_nil()
click to toggle source
# File lib/excelxml/worksheet.rb, line 102 def to_nil self.empty? ? nil : self end