Sha256: 784e0a23141c70c78cd269aec9d50f0da412ad6d4d3cbb9a708011706915dfeb
Contents?: true
Size: 455 Bytes
Versions: 10
Compression:
Stored size: 455 Bytes
Contents
# encoding: UTF-8 # Exception indicating that a requested field does not exist. class FieldUnavailableException < StandardError # @!attribute [r] x # @return [Integer] the X-coordinate of the requested field. attr_reader :x # @!attribute [r] y # @return [Integer] the Y-coordinate of the requested field. attr_reader :y def initialize(x, y) super("Field with coordinates (#{x},#{y}) is not available.") @x = x @y = y end end
Version data entries
10 entries across 10 versions & 1 rubygems