lib/meibo/japan_profile/user.rb in meibo-0.12.0 vs lib/meibo/japan_profile/user.rb in meibo-0.13.0

- old
+ new

@@ -20,8 +20,12 @@ @kana_given_name = kana_given_name @kana_family_name = kana_family_name @kana_middle_name = kana_middle_name @home_class = home_class end + + def home_classroom + home_class && Meibo.current_roster.classes.find(home_class) + end end end end