dash.rb

Path: lib/hashie/dash.rb
Last Update: Sat Feb 23 07:18:09 +0000 2019

Required files

hashie/hash   set  

Methods

[]   []=   merge   merge!   new   replace   update_attributes!  

External Aliases

[] -> _regular_reader
[]= -> _regular_writer

Public Class methods

You may initialize a Dash with an attributes hash just like you would many other kinds of data objects.

Public Instance methods

Retrieve a value from the Dash (will return the property‘s default value if it hasn‘t been set).

Set a value on the Dash in a Hash-like way. Only works on pre-existing properties.

[Validate]