BSD Ports

devel/rubygem-scanf 1.0.0 DragonFly

Ruby implementation of the C function scanf(3)

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
devel, rubygems
Package size
8.8 KiB, 24.9 KiB installed

Description

scanf is an implementation of the C function scanf(3), modified as necessary for Ruby compatibility.

The methods provided are String#scanf, IO#scanf, and Kernel#scanf. Kernel#scanf is a wrapper around STDIN.scanf. IO#scanf can be used on any IO stream, including file handles and sockets. scanf can be called either with or without a block.

In the other systems

SystemPortVersion
DragonFlydevel/rubygem-scanf1.0.0
FreeBSDdevel/rubygem-scanf1.0.0

Install

Binary package:

pkg install rubygem-scanf

From DPorts:

cd /usr/dports/devel/rubygem-scanf && make install clean

Dependencies

Run dependencies 2

No port depends on this one.