Add #applicable_states instance method to Machine class.
Add #applicable_states instance method to Machine class.
Fixes #24. Refactored as discussed.
removed excessive line
bump rubocop version to the latest 0.18.1 to avoid conflict with rainbow 2.0.0
fix minor rubocop warnings
fixed rubcop warnings, muted raise/fail
fixed CyclomaticComplexity and RedundantSelf offences
Merge pull request #25 from prikha/master

Add #applicable_states instance method to Machine class.