Module: Cuprum::Collections::Relations::Options
- Included in:
- Collection, Cuprum::Collections::Relation
- Defined in:
- lib/cuprum/collections/relations/options.rb
Overview
Methods for storing arbitrary options for a relation.
Instance Attribute Summary collapse
-
#options ⇒ Hash
readonly
Additional options for the relation.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Hash (readonly)
Returns additional options for the relation.
16 17 18 |
# File 'lib/cuprum/collections/relations/options.rb', line 16 def @options end |
Instance Method Details
#initialize(**options) ⇒ Object
9 10 11 12 13 |
# File 'lib/cuprum/collections/relations/options.rb', line 9 def initialize(**) super() @options = end |