# File lib/gherkin/rubify.rb, line 7 def rubify(o) case(o) when Java.java.util.Collection, Array o.map{|e| rubify(e)} when Java.gherkin.formatter.model.PyString require 'gherkin/formatter/model' Formatter::Model::PyString.new(o.value, o.line) else o end end