代码搜索:singleton

找到约 4,696 项符合「singleton」的源代码

代码结果 4,696
www.eeworm.com/read/213767/4912687

rb publication_pending.rb

module ContentState class PublicationPending < Base include Singleton def enter_hook(content) super content[:published] = false if content.new_record? end def change_pu
www.eeworm.com/read/213767/4912694

rb spam.rb

module ContentState class Spam < Base include Singleton def enter_hook(content) super content[:published] = false content[:status_confirmed] = true end def is_spa
www.eeworm.com/read/213767/4912695

rb draft.rb

module ContentState class Draft < Base include Singleton def enter_hook(content) super content[:published] = false content[:published_at] = nil end def change_pub
www.eeworm.com/read/175689/5343395

asv ida.asv

function varargout = IDA(varargin) % IDA M-file for IDA.fig % IDA, by itself, creates a new IDA or raises the existing % singleton*. % % H = IDA returns the handle to a new IDA or
www.eeworm.com/read/340511/3285212

java physics.java

package com.brackeen.javagamebook.game; import com.brackeen.javagamebook.math3D.Vector3D; /** The Physics class is a singleton that represents various attributes (like gravity) and the
www.eeworm.com/read/340511/3285311

java physics.java

package com.brackeen.javagamebook.game; import com.brackeen.javagamebook.math3D.Vector3D; /** The Physics class is a singleton that represents various attributes (like gravity) and the
www.eeworm.com/read/340511/3285527

java physics.java

package com.brackeen.javagamebook.game; import com.brackeen.javagamebook.math3D.Vector3D; /** The Physics class is a singleton that represents various attributes (like gravity) and the
www.eeworm.com/read/340511/3285599

java physics.java

package com.brackeen.javagamebook.game; import com.brackeen.javagamebook.math3D.Vector3D; /** The Physics class is a singleton that represents various attributes (like gravity) and the
www.eeworm.com/read/340511/3285689

java physics.java

package com.brackeen.javagamebook.game; import com.brackeen.javagamebook.math3D.Vector3D; /** The Physics class is a singleton that represents various attributes (like gravity) and the
www.eeworm.com/read/336357/3351811

java physics.java

package com.brackeen.javagamebook.game; import com.brackeen.javagamebook.math3D.Vector3D; /** The Physics class is a singleton that represents various attributes (like gravity) and the