Sha256: 55ecccd1824be21a5df40859c50c6a03675fb1ef243a85e84364f1ec7e44b675
Contents?: true
Size: 308 Bytes
Versions: 5
Compression:
Stored size: 308 Bytes
Contents
class CCNode alias_method :add_child, :addChild def << (node) self.addChild(node) end def self.inherited(base) base.send(:include, Joybox) end #TODO: Revisar el nombre de este metodo def add_childs(*nodes) nodes.each do |node| self.addChild(node) end end end
Version data entries
5 entries across 5 versions & 1 rubygems