Module: Sequel::Plugins::BooleanReaders::ClassMethods

Defined in:
lib/sequel/lib/sequel/plugins/boolean_readers.rb

Instance Method Summary collapse

Instance Method Details

#set_dataset(*args) ⇒ Object

Create boolean readers for the class using the columns from the new dataset.


29
30
31
32
33
# File 'lib/sequel/lib/sequel/plugins/boolean_readers.rb', line 29

def set_dataset(*args)
  super
  create_boolean_readers
  self
end