Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/xyp/plot.rb
Instance Method Summary collapse
Instance Method Details
#x ⇒ Object
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 |
#y ⇒ Object
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 |