Method: Playbook::PbUser::User#name_size
- Defined in:
- app/pb_kits/playbook/pb_user/user.rb
#name_size ⇒ Object
45 46 47 48 49 50 51 |
# File 'app/pb_kits/playbook/pb_user/user.rb', line 45 def name_size if name_style == "caption" size == "sm" ? "xs" : size else size == "lg" ? 3 : 4 end end |