Class: Canopus::DisplayPoint

Inherits:
Data
  • Object
show all
Defined in:
lib/canopus/display_point.rb,
sig/canopus.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#column ⇒ Object (readonly)

Returns the value of attribute column

Returns:

  • (Object) —

    the current value of column



4
5
6
# File 'lib/canopus/display_point.rb', line 4

def column
  @column
end

#row ⇒ Object (readonly)

Returns the value of attribute row

Returns:

  • (Object) —

    the current value of row



4
5
6
# File 'lib/canopus/display_point.rb', line 4

def row
  @row
end

Class Method Details

.new ⇒ instance

Parameters:

  • row (Integer)
  • column (Integer)

Returns:

  • (instance)


164
# File 'sig/canopus.rbs', line 164

def self.new: (Integer row, Integer column) -> instance