Fix #2 for new Ruby's syntax

Fix #2 for new Ruby's syntax