Class: Clutter::Point

Inherits:
Object
  • Object
show all
Defined in:
lib/clutter/point.rb

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil) ⇒ Point

Returns a new instance of Point.



20
21
22
23
# File 'lib/clutter/point.rb', line 20

def initialize(x=nil, y=nil)
  initialize_original
  init(x, y) if x and y
end

Instance Method Details

#initialize_originalObject



19
# File 'lib/clutter/point.rb', line 19

alias_method :initialize_original, :initialize