This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Dave Copeland
davetron5000.com
did:plc:5qa544tzvkfohwvc34r37z2c
When creating data types in Ruby, I often make a factory method that does 2 things you can't do in an initializer:
1 - if the argument is nil, return nil
2 - if the argument is already of the data type, return it
https://gist.github.com/davetron5000/1a6b394f4295f1b70062baab013d297f#file-factory-rb
2025-02-13T17:32:50.057Z