If a string starts with double quotes, it ends with double quotes.

The bug was introduced in SHA: cdb0a2f9.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Remove some dead code.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Refactoring - no need to use begin...end within method body.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Refactoring - be more expressive.

And add some FIXME annotations for later.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Merge pull request #49 from yeban/alpha

Minor refactoring and bug fixes.
merge upstream