Class RecursiveOpenStruct
In: lib/recursive_open_struct.rb
lib/recursive_open_struct/version.rb
lib/recursive_open_struct/dig.rb
Parent: OpenStruct

TODO: When we care less about Rubies before 2.4.0, match OpenStruct‘s method names instead of doing things like aliasing `new_ostruct_member` to `new_ostruct_member!`

Methods

Included Modules

Ruby19Backport Dig DebugInspect

Classes and Modules

Module RecursiveOpenStruct::DebugInspect
Module RecursiveOpenStruct::Dig
Module RecursiveOpenStruct::Ruby19Backport
Class RecursiveOpenStruct::DeepDup

Constants

VERSION = "1.1.0"

Public Class methods

Public Instance methods

new_ostruct_member! is private, but new_ostruct_member is not on OpenStruct in 2.4.0-rc1?!

Adapted implementation of method_missing to accommodate the differences between ROS and OS.

TODO: Use modifiable? instead of modifiable, and new_ostruct_member! instead of new_ostruct_member once we care less about Rubies before 2.4.0.

TODO: Rename to new_ostruct_member! once we care less about Rubies before 2.4.0.

Makes sure ROS responds as expected on respond_to? and method requests

to_hash()

Alias for to_h

[Validate]