Ruby Class Methods are a better design choice than Constants19 November 2020·5 minsRubyConstants in Ruby code leads to poor object-oriented design principals. Use class methods instead to create a maintainable API without losing any performance.