struct Xls::Worksheet::Cell::Any
- Xls::Worksheet::Cell::Any
- Struct
- Value
- Object
Overview
See http://sc.openoffice.org/excelfileformat.pdf, page 91
Included Modules
Defined in:
xls/spreadsheet/worksheet/cell.crInstance Method Summary
-
#as_bool : Bool
Checks that the underlying value is
Bool
, and returns its value Raises otherwise. -
#as_bool? : Bool?
Checks that the underlying value is
Bool
, and returns its value Returnsnil
otherwise. -
#as_cell_error : CellError
Checks that the underlying value is
Xls::Worksheet::Cell::CellError
, and returns its value Raises otherwise. -
#as_cell_error? : CellError?
Checks that the underlying value is
Xls::Worksheet::Cell::CellError
, and returns its value Returnsnil
otherwise. -
#as_f : Float64
Checks that the underlying value is
Float64
, and returns its value Raises otherwise. -
#as_f? : Float64?
Checks that the underlying value is
Float64
, and returns its value Returnsnil
otherwise. -
#as_nil : Nil
Checks that the underlying value is
Nil
, and returnsnil
Raises otherwise. -
#as_s : String
Checks that the underlying value is
String
, and returns its value Raises otherwise. -
#as_s? : String?
Checks that the underlying value is
String
, and returns its value Returnsnil
otherwise. - #raw : Bool | Float64 | String | Xls::Worksheet::Cell::CellError | Nil
Instance methods inherited from module Xls::InspectableMethods
inspect(io : IO) : Nil
inspect,
to_s(io : IO) : Nil
to_s
Instance Method Detail
Checks that the underlying value is Bool
, and returns its value
Raises otherwise.
Checks that the underlying value is Bool
, and returns its value
Returns nil
otherwise.
Checks that the underlying value is Xls::Worksheet::Cell::CellError
, and returns its value
Raises otherwise.
Checks that the underlying value is Xls::Worksheet::Cell::CellError
, and returns its value
Returns nil
otherwise.
Checks that the underlying value is Float64
, and returns its value
Raises otherwise.
Checks that the underlying value is Float64
, and returns its value
Returns nil
otherwise.
Checks that the underlying value is String
, and returns its value
Raises otherwise.
Checks that the underlying value is String
, and returns its value
Returns nil
otherwise.