I hereby claim:
- I am ggstuart on github.
- I am ggstuart (https://keybase.io/ggstuart) on keybase.
- I have a public key ASCUn8lnH6LSnY-0Qc6tPkp9KQ5FI1nr9kG9y3UtEmj85Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="ember select box demo using ember data belongsTo relationship"> | |
<meta charset="utf-8"> | |
<title>Select example</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css"> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.11.1/ember-template-compiler.js"></script> |
def Analyse(obj): | |
""" Dynamic Dispatch based on object's class type. | |
This will call the AnalyseClassName | |
Example: if obj is of type Let, then call AnalyseLet, | |
if it is of type IfElse call AnalyseIfElse | |
""" | |
# Get obj's class name | |
class_name = obj.__class__.__name__ | |
# Create the function name as a string |