9360b6be63
because Struct.new returns a Class, we just can give it a name and use it directly without inheriting from it |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |
9360b6be63
because Struct.new returns a Class, we just can give it a name and use it directly without inheriting from it |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |