Class: GeneValidator::Pair1

Inherits:
Struct
  • Object
show all
Defined in:
lib/genevalidator/validation.rb

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



22
23
24
# File 'lib/genevalidator/validation.rb', line 22

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



22
23
24
# File 'lib/genevalidator/validation.rb', line 22

def y
  @y
end