lib/socialization/actors/mentioner.rb in socialization-0.5.0.beta2 vs lib/socialization/actors/mentioner.rb in socialization-0.5.0.beta3

- old
+ new

@@ -1,10 +1,11 @@ module ActiveRecord class Base def is_mentioner? false end + alias mentioner? is_mentioner? end end module Socialization module Mentioner @@ -15,9 +16,10 @@ # # @return [Boolean] def is_mentioner? true end + alias mentioner? is_mentioner? # Create a new {Mention mention} relationship. # # @param [Mentionable] mentionable the object to be mentioned. # @return [Boolean]