Detect DSL with Ruby