Method: Charma::Rect#x

Defined in:
lib/charma/rect.rb

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



4
5
6
# File 'lib/charma/rect.rb', line 4

def x
  @x
end