Class: Clutter::Point
- Inherits:
-
Object
- Object
- Clutter::Point
- Defined in:
- lib/clutter/point.rb
Instance Method Summary collapse
-
#initialize(x = nil, y = nil) ⇒ Point
constructor
A new instance of Point.
- #initialize_original ⇒ Object
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_original ⇒ Object
19 |
# File 'lib/clutter/point.rb', line 19 alias_method :initialize_original, :initialize |