Module: Commontator::BuildThread
- Defined in:
- lib/commontator/build_thread.rb
Instance Method Summary collapse
Instance Method Details
#commontator_thread ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/commontator/build_thread.rb', line 2 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 |