Parent

Methods

Spreadsheet::Excel::Error

This class encapsulates Excel Error-Codes

Constants

ERROR_VALUES

Attributes

code[R]

Public Class Methods

new(code) click to toggle source
# File lib/spreadsheet/excel/error.rb, line 16
def initialize code
  @code = code
end

Public Instance Methods

value() click to toggle source

The String value Excel associates with an Error code

# File lib/spreadsheet/excel/error.rb, line 21
def value
  ERROR_VALUES.fetch @code, '#UNKNOWN'
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.