Module: Hashery::Association::Kernel

### Home Classes Methods

### In Files

- lib/hashery/association.rb

### Methods

- #>>
- #associations

### Files

- LICENSE.txt
- NOTICE.txt

### Class/Module Index

Quicksearch

- Hashery
- Hashery::Association
- Hashery::Association::Kernel
- Hashery::CRUDHash
- Hashery::CastingHash
- Hashery::Dictionary
- Hashery::FuzzyHash
- Hashery::IniHash
- Hashery::KeyHash
- Hashery::LRUHash
- Hashery::LinkedList
- Hashery::LinkedList::Node
- Hashery::OpenCascade
- Hashery::OpenHash
- Hashery::OrderedHash
- Hashery::PathHash
- Hashery::PropertyHash
- Hashery::QueryHash
- Hashery::Stash
- Hashery::StaticHash
- Hash

No matching classes.

# Hashery::Association::Kernel

Object extensions.

### Public Instance Methods

>>(to) click to toggle source

Define an association for `self`.

to - The value of the association.

Returns [Association].

    # File lib/hashery/association.rb, line 168
    def >>(to)
      Association.new(self, to)
    end

associations() click to toggle source

List of associations for this object.

Returns an `Array` of `Associations`.

    # File lib/hashery/association.rb, line 177
    def associations
      Association.reference[self]
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.