Method: Blazer.user_method
- Defined in:
- lib/blazer.rb
.user_method ⇒ Object
106 107 108 109 110 111 112 113 114 |
# File 'lib/blazer.rb', line 106 def self.user_method if !defined?(@user_method) @user_method = settings["user_method"] if user_class @user_method ||= "current_#{user_class.to_s.downcase.singularize}" end end @user_method end |