lib/chatterbot/dsl.rb in chatterbot-2.0.4 vs lib/chatterbot/dsl.rb in chatterbot-2.0.5
- old
+ new
@@ -12,9 +12,13 @@
end
#
# search twitter for the specified terms, then pass any matches to
# the block.
+ # NOTE: by default, search terms are wrapped in quotes so the
+ # Twitter API will return tweets that include your exact query.
+ # You can disable this by passing exact:false as an option
+ #
# @param args [Hash] options. these will be passed directly to
# Twitter via the twitter gem. You can see the possible arguments
# at http://www.rubydoc.info/gems/twitter/Twitter/REST/Search#search-instance_method
#
# @example