Question: i have some field like Firstname, Lastname , Country on country field i have add button to store country name in database if user add country then filled fields blank after reload a page

Answer: 
This is how it is done

```
3.times.reduce(B) {|a, _| a.superclass } # => BasicObject

```
I made it as below :

```
([:superclass]*3).inject(B,:send)
# => BasicObject

```