| Class | Origin::Options |
| In: |
lib/origin/options.rb
|
| Parent: | Smash |
Perform a deep copy of the options.
@example Perform a deep copy.
options.__deep_copy__
@return [ Options ] The copied options.
@since 2.3.1
Store the value in the options for the provided key. The options will handle all necessary serialization and localization in this step.
@example Store a value in the options.
options.store(:key, "testing")
@param [ String, Symbol ] key The name of the attribute. @param [ Object ] value The value to add.
@return [ Object ] The stored object.
@since 1.0.0