module Indexable::Width

Public Instance Methods

width() click to toggle source

Get width.

# File lib/sixarm_ruby_geometry/indexable/width.rb, line 9
def width
  self[0]
end
width=(width) click to toggle source

Set width.

# File lib/sixarm_ruby_geometry/indexable/width.rb, line 14
def width=(width)
  self[0]=width
end