class Gdk::Cursor
Public Class Methods
Source
# File lib/gdk4/cursor.rb, line 21 def new(*args) first_arg = args.first case first_arg when String, Symbol @caches[first_arg] ||= super else super end end
Calls superclass method
# File lib/gdk4/cursor.rb, line 21 def new(*args) first_arg = args.first case first_arg when String, Symbol @caches[first_arg] ||= super else super end end