LICENSE NEWS README
Raindrops Aggregate Aggregate::LastDataRecv Aggregate::PMQ InetDiagSocket LastDataRecv Linux ListenStats Middleware Middleware::Proxy Struct TCP_Info Watcher

Methods

::new

class Raindrops::Struct

This is a wrapper around Raindrops objects much like the core Ruby Struct can be seen as a wrapper around the core Array class. It's usage is similar to the core Struct class, except its fields may only be used to house unsigned long integers.

class Foo < Raindrops::Struct.new(:readers, :writers)
end

foo = Foo.new 0, 0

foo.incr_writers    -> 1
foo.incr_readers    -> 1

Public Class Methods

new (*members) source

returns a new class derived from Raindrops::Struct and supporting the given members as fields, just like Struct.new in core Ruby.


Pages Classes Methods
mail archives: https://yhbt.net/raindrops-public/
	http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/raindrops-public 
	nntps://news.public-inbox.org/inbox.comp.lang.ruby.raindrops 
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.raindrops 
	imaps://yhbt.net/inbox.comp.lang.ruby.raindrops.0 
	imap://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.raindrops.0 
public: raindrops-public@yhbt.net
source code: git clone https://yhbt.net/raindrops.git
	torsocks git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/raindrops.git