app/models/review.rb
# ====Params   
# None
# ====Returns
# String
# ==== Method
# Helper to return the state of a review in String form     
# Returns "In Process" or "Completed"
Params
None
Returns
String
Method
Helper to return the state of a review in String form
Returns "In Process" or "Completed"
Params None Returns String Method Helper to return the state of a review in String form Returns " In Process " or " Completed "
def state_string
    if self.review_state == 0
      "In Process"
    else
      "Completed"
    end
  end
def state_string if self . review_state == 0 "In Process" else "Completed" end end
Params
None
Returns
String
 Method
Helper to return the state of a review in String form
Returns "In Process" or "Completed"
Params None Returns String Method Helper to return the state of a review in String form Returns " In Process " or " Completed "