Sha256: 7d4640162f1ca1c426d9479815380d32d33b71b586c4e2156dbcfd1e984b51ea
Contents?: true
Size: 509 Bytes
Versions: 5
Compression:
Stored size: 509 Bytes
Contents
module TablePal class TablePalError < StandardError # def initialize(message) # @meth = meth # options.each do |key, value| # validate_option(key, value) # end # end # def validate_option(key, value) # case key # when :row then validate_row(value) # end # end # def validate_row(value) # return if value.is_a?(Row) # raise "Table.#{meth} error. Expected `row:` to be a Row instance, not a #{value.class}" # end end end
Version data entries
5 entries across 5 versions & 1 rubygems