Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  def atleast? which   
    which.to_s unless which.instance_of? String    
    case self.role
    when "free"
      if which == "free"
        return true
      else
        return false
      end
    when "diy"
      case which
      when  "free" || "diy";     return true
      else;                      return false
      end
    when "amateur"
      case which
      when "pro";  return false
      else;        return true
      end
    when "pro"
      return true
    else
      return false
    end
  end