Runtime assertions for Ruby literal.fun
ruby
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use alias_method instead of alias

+2 -1
+2 -1
lib/literal/data_structure.rb
··· 48 48 def ==(other) 49 49 self.class === other && other.class.literal_properties.empty? 50 50 end 51 - alias eql? == 51 + 52 + alias_method :eql?, :== 52 53 53 54 def self.__generate_literal_methods__(new_property, buffer = +"") 54 55 super