File: //usr/local/rvm/gems/default/doc/activemodel-6.1.4.1/ri/ActiveModel/Type/Boolean/cdesc-Boolean.ri
U:RDoc::NormalClass[iI"Boolean:ETI"ActiveModel::Type::Boolean;TI"
Value;To:RDoc::Markup::Document:@parts[o;;[
S:RDoc::Markup::Heading:
leveli: textI"!Active \Model \Type \Boolean;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"ZA class that behaves like a boolean type, including rules for coercion of user input.;T@S; ;
i;I"
Coercion;To;
;[I"VValues set from user input will first be coerced into the appropriate ruby type. ;TI"ECoercion behavior is roughly mapped to Ruby's boolean semantics.;T@o:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;
;[I"\"false", "f" , "0", +0+ or any other value in +FALSE_VALUES+ will be coerced to +false+;To;;0;[o;
;[I"'Empty strings are coerced to +nil+;To;;0;[o;
;[I"/All other values will be coerced to +true+;T:
@fileI"%lib/active_model/type/boolean.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"FALSE_VALUES;TI"-ActiveModel::Type::Boolean::FALSE_VALUES;T:public0o;;[ ;@+;0@+@cRDoc::NormalClass0[ [[I"
class;T[[;[ [:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[[I"cast_value;TI"%lib/active_model/type/boolean.rb;T[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@+I"ActiveModel::Type;TcRDoc::NormalModule