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