美国心理学家 埃里克-埃里克森(Erik Erikson) 创造了一套名叫 人格的社会心理发展理论(Psychosocial development across the life span), 把人这一生的心理发展分为八个阶段,其中每一个阶段都有自己的矛盾和对峙状态, 只有矛盾顺利解决, 人的心理才能向下一阶段健康发展.
题目中问道, 如果小孩从 6 岁至 18 岁,即小学到高中期间,如果除了学业没有思考过其他的问题会在大学面临哪些思想问题. 在埃里克森的理论中, 这一段 12 年的时间被划分成了两个心里阶段: 其中 6至12岁, 是勤奋对自卑阶段(Industry vs Inferiority); 从12岁到18岁, 是同一性对混乱阶段(Identity vs Role Confusion).
///UI Element var timeLabel: UILabel? //显示剩余时间 var timeButtons: [UIButton]? //设置时间的按钮数组 var startStopButton: UIButton? //启动/停止按钮 var clearButton: UIButton? //复位按钮 let timeButtonInfos = [("1分", 60), ("3分", 180), ("5分", 300), ("秒", 1)]
# first helper defrender_article_publish_status(article) if article.published? "Published at #{article.published_at.strftime('%A, %B %e')}" else "Unpublished" end end
# then model method
classArticle < ActiveRecord::Base defhuman_publish_status if published? "Published at #{article.published_at.strftime('%A, %B %e')}" else "Unpublished" end end end
# then ...
classArticle < ActiveRecord::Base defhuman_publish_status end
defhuman_publish_time end
defhuman_author_name end #........ end
# at last
classArticle < ActiveRecord::Base includeHumanArticleAttributes end