Class: OpenStruct
- Inherits:
-
OpenStruct2
- Object
- OpenStruct2
- OpenStruct
- Defined in:
- lib/ostruct2/ostruct.rb
Instance Method Summary collapse
Methods inherited from OpenStruct2
#==, #[], #[]=, auto, cascade, #delete!, #delete_field, #dup, #each!, #empty?, #eql?, #fetch!, #freeze, #frozen?, #hash, #initialize, #initialize_copy, #inspect, #key!, #key?, #keys!, #map!, #merge!, #method_missing, nested, #nested!, #read!, #store!, #to_enum, #to_h, #update!
Constructor Details
This class inherits a constructor from OpenStruct2
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenStruct2
Instance Method Details
#__class__ ⇒ Object
4 5 6 |
# File 'lib/ostruct2/ostruct.rb', line 4 def __class__ OpenStruct end |