U:RDoc::AnyMethod[iI"acts_like?:EFI"Object#acts_like?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[
I"LA duck-type assistant method. For example, Active Support extends Date ;TI"Eto define an acts_like_date? method, and extends Time to define ;TI"Gacts_like_time?. As a result, we can do "x.acts_like?(:time)" and ;TI"P"x.acts_like?(:date)" to do duck-type-safe comparisons, since classes that ;TI"Nwe want to act like Time simply need to define an acts_like_time? method.;T:
@fileI"4lib/active_support/core_ext/object/acts_like.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(duck);T@FI"Object;TcRDoc::NormalClass0