Conversation
There was a problem hiding this comment.
You set satisfactory to an array here, but you use it as a true/false elsewhere. It would probably be best to leave off this line to not confuse future developers (including yourself).
There was a problem hiding this comment.
Thank you for the info! By the way, sorry if I did something wrong today. I
didn't understand exactly what you meant earlier after the mini lecture.
See you tomorrow and have a goodnight!
Parker
On Jan 28, 2015 9:20 PM, "Mason F. Matthews" notifications@github.com
wrote:
In employee.rb
#14 (comment)
:@@ -0,0 +1,30 @@
+class Employee
- attr_accessor :name, :salary, :reviews, :satisfactory
- def initialize(name, salary)
- @name = name
- @salary = salary
- @reviews = []
- @satisfactory = []
You set satisfactory to an array here, but you use it as a true/false
elsewhere. It would probably be best to leave off this line to not confuse
future developers (including yourself).—
Reply to this email directly or view it on GitHub
https://github.com/tiyd-rails-2015-01/employee_reviews/pull/14/files#r23742538
.
|
Parker - Good work on this assignment. I made a few notes, but I think they all revolved around the same thing. The use of two instance variables to capture the same thing was giving you trouble. I'm guessing you also realize that your git commit messages are a bit informal (which is fun, but not how you eventually want to be writing them). My only other concern would be the lack of any methods for setting a departmental raise. Did you run out of time on that one? Did you try it and back out the attempt? How did that all go? Thanks! |
|
Mason, Best, On Wed, Jan 28, 2015 at 9:28 PM, Mason F. Matthews <notifications@github.com
|
|
Hello everyone, This is for one of the most amazing people I've ever met in my Why I Participate: About MS Please support me! Every step matters. Every dollar counts. Every person makes a Please visit National MS Society today!
Click here to visit my personal page. If you no longer wish to receive email messages sent from your friends on behalf of this organization, please follow the link below: http://main.nationalmssociety.org/site/TellFriendOpt?action=optout&toe=c3fe6cf4948541b3977eba8bcbb0f53df959042494d93ffbc286acd0e6fccd8c9ed88a991e44bc776cc64ba9051ab77ac8d1febaf2b2156ad2a9e023242c99d9e155e6f3aa0c9f83ab5d9721e19230256e63de2f877e0159db5c211a23dfdc66a11711f2a52522d69110a3fc73043c69 National MS Society | Forward to a Friend | Privacy Policy | http://www.nationalmssociety.org/legal-notice-privacy-policy/index.aspx Unsubscribe http://main.nationalmssociety.org/site/CO?s_AffiliateSecCatId=1&pw_id=12021 733 Third Avenue, New York, New York 10017 | 1-800-FIGHT-MS (344-4867) FOLLOW US
YouTube
LinkiedIn
Blogger
Flickr
MS Connection https://www.facebook.com/nationalmssociety |
No description provided.