--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: configure
comment: 
- !ruby/struct:SM::Flow::P 
  body: "The BooleaReaders plugin allows for the creation of attribute? methods for boolean columns, which provide a nicer API. By default, the accessors are created for all columns of type :boolean. However, you can provide a block to the plugin to change the criteria used to determine if a column is boolean:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Sequel::Model.plugin(:boolean_readers){|c| db_schema[c][:db_type] =~ /\\Atinyint/}\n"
- !ruby/struct:SM::Flow::P 
  body: This may be useful if you are using MySQL and have some tinyint columns that represent booleans and others that represent integers. You can turn the convert_tinyint_to_bool setting off and use the attribute methods for the integer value and the attribute? methods for the boolean value.
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Default proc for determining if given column is a boolean, which just checks that the :type is boolean.
  name: DEFAULT_BOOLEAN_ATTRIBUTE_PROC
  value: lambda{|c| db_schema[c][:type] == :boolean}
full_name: Sequel::Plugins::BooleanReaders
includes: []

instance_methods: []

name: BooleanReaders
superclass: 
