Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/xyp/plot.rb

Instance Method Summary collapse

Instance Method Details

#xObject



2
3
4
# File 'lib/xyp/plot.rb', line 2

def x
  self[0]
end

#x=(v) ⇒ Object



10
11
12
# File 'lib/xyp/plot.rb', line 10

def x=(v)
  self[0]=v
end

#yObject



6
7
8
# File 'lib/xyp/plot.rb', line 6

def y
  self[1]
end

#y=(v) ⇒ Object



14
15
16
# File 'lib/xyp/plot.rb', line 14

def y=(v)
  self[1]=v
end