Module: ActiveScaffold::MarkedModel::ClassMethods

Defined in:
lib/active_scaffold/marked_model.rb

Instance Method Summary collapse

Instance Method Details

#marked_recordsObject



24
25
26
# File 'lib/active_scaffold/marked_model.rb', line 24

def marked_records
  Thread.current[:marked_records] ||= Set.new
end

#marked_records=(marked) ⇒ Object



28
29
30
# File 'lib/active_scaffold/marked_model.rb', line 28

def marked_records=(marked)
  Thread.current[:marked_records] = marked 
end