abhionlyone (Abhilash Reddy)
- Login: abhionlyone
- Registered on: 10/15/2018
- Last sign in: 05/06/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 0 | 1 |
Activity
10/16/2018
-
05:07 AM Ruby Feature #15225: OpenStruct: Recursively converting child Hash objects to OpenStruct objects.
- shevegen (Robert A. Heiler) wrote:
> This is an interesting suggestion.
> ...
Thanks for taking the time to review this feature request. If possible please take a look at this PR https://github.com/ruby/ostruct/pull/5/files.
I'm r...
10/15/2018
-
02:03 PM Ruby Feature #15225 (Open): OpenStruct: Recursively converting child Hash objects to OpenStruct objects.
- Currently, OpenStruct allows this:
~~~ ruby
person = OpenStruct.new
person.age = 25
person.name = "Abhilash"
puts person.name # "Abhilash"
~~~
But something like this is not possible:
~~~ ruby
person.more_info = {country: ...