class XLSXToHTML::ExpectedDataNotFound

Public Class Methods

new(data = nil) click to toggle source
# File lib/xlsx_to_html/exceptions.rb, line 3
def initialize(data = nil)
  @data = data
end

Public Instance Methods

message() click to toggle source
# File lib/xlsx_to_html/exceptions.rb, line 7
def message
  msg = 'Expected data was not found'
  msg ? "#{msg}: #{@data}" : msg
end