Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2b77e5fae0
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.36 kb
module Typhon
module Environment
class Tuple
include PythonObjectMixin
def initialize(rbx_tuple)
@tuple = rbx_tuple
py_init(TupleType)
end
end
python_class_c :TupleType, [ObjectBase], 'tuple', 'tuple' do
end
end
end
class Rubinius::Tuple
def to_py
Typhon::Environment::Tuple.new(self)
end
end
Jump to Line
Something went wrong with that request. Please try again.