Module: Indexable::X

Defined in:
lib/sixarm_ruby_geometry/indexable/x.rb

Instance Method Summary collapse

Instance Method Details

#xObject



9
10
11
# File 'lib/sixarm_ruby_geometry/indexable/x.rb', line 9

def x
  self[0]
end

#x=(x) ⇒ Object



13
14
15
# File 'lib/sixarm_ruby_geometry/indexable/x.rb', line 13

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