Sha256: f6723495955b63ee762f26f3a8ddcc2a8fb059441b97a2843bae443be5c54bdc
Contents?: true
Size: 229 Bytes
Versions: 8
Compression:
Stored size: 229 Bytes
Contents
module RubyPython # A subclass of ::Array that will convert to a Python Tuple automatically. class Tuple < ::Array def self.tuple(array) value = self.new value.replace(array.dup) value end end end
Version data entries
8 entries across 8 versions & 3 rubygems