Sha256: c67591a99f4fce1a08828a894db9ef483133b54b771bf901e6bc93daa66a96cd

Contents?: true

Size: 483 Bytes

Versions: 25

Compression:

Stored size: 483 Bytes

Contents

# ChainGang Modules
ChainGang modules contain methods that are "chainable", i.e. they return `self`.

## ! vs =
ChainGang methods that take arguments are defined with a trailing `!` and aliased
with a trailing `=`.  At the time of writing, the `=` version can't be chained because
the Ruby virtual machine seems to compile the two methods slightly differently and the
`=` version returns the arguments rather than `self`.  The `=` version is intended to
be used as an `attr_writer`.

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-2.1.0 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-2.0.0 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.9 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.8 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.7 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.6 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.5 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.4 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.3 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.2 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.1 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.1.0 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.0.11 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.0.10 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.0.9 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.0.8 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.0.7 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.0.6 lib/exlibris/primo/chain_gang/README.md
exlibris-primo-1.0.5 lib/exlibris/primo/chain_gang/README.md