Sha256: a439226190c5173c1b57a6c98df3cb7b03c42ad292309709fcb7a3f1758abb99
Contents?: true
Size: 438 Bytes
Versions: 15
Compression:
Stored size: 438 Bytes
Contents
module Gherkin module Rubify if defined?(JRUBY_VERSION) # Translate Java objects to Ruby. # This is especially important to convert java.util.List coming # from Java and back to a Ruby Array. def rubify(o) if Java.java.util.Collection === o || Array === o o.map{|e| rubify(e)} else o end end else def rubify(o) o end end end end
Version data entries
15 entries across 15 versions & 1 rubygems