Sha256: 34da77d8dd4d06723028728b8d1da7dd7a2251beb7b67b789625c419b063d2d0

Contents?: true

Size: 190 Bytes

Versions: 1

Compression:

Stored size: 190 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require_relative "setup"
require "ryo"

point = Ryo.from({
  x: {to_i: 0},
  y: {to_i: 10}
})
p [point.x.to_i, point.y.to_i]

##
# [0, 10]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ryo.rb-0.5.6 share/ryo.rb/examples/3.0_recursion_ryo_from.rb