Sha256: efbe8c861bb82b5561a5516808237d3c1e25677e72aebf39efe07371f204c894

Contents?: true

Size: 272 Bytes

Versions: 13

Compression:

Stored size: 272 Bytes

Contents

module Commontator::BuildThread
  def commontator_thread
    @commontator_thread ||= super
    return @commontator_thread unless @commontator_thread.nil?

    @commontator_thread = build_commontator_thread.tap do |thread|
      thread.save if persisted?
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
commontator-7.0.1 lib/commontator/build_thread.rb
commontator-7.0.0 lib/commontator/build_thread.rb
commontator-6.3.2 lib/commontator/build_thread.rb
commontator-6.3.1 lib/commontator/build_thread.rb
commontator-6.3.0 lib/commontator/build_thread.rb
commontator-6.2.1 lib/commontator/build_thread.rb
commontator-6.2.0 lib/commontator/build_thread.rb
commontator-6.1.1 lib/commontator/build_thread.rb
commontator-6.1.0 lib/commontator/build_thread.rb
commontator-6.0.1 lib/commontator/build_thread.rb
commontator-6.0.0 lib/commontator/build_thread.rb
commontator-6.0.0.pre.2 lib/commontator/build_thread.rb
commontator-6.0.0.pre.1 lib/commontator/build_thread.rb