Runtime assertions for Ruby literal.fun
ruby
5
fork

Configure Feed

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

`Enum#to_h` (#249)

authored by

barseek and committed by
GitHub
d8169117 8da5d298

+2 -2
+2 -2
lib/literal/enum.rb
··· 155 155 method(:coerce).to_proc 156 156 end 157 157 158 - def to_h(*args) 159 - @values.dup 158 + def to_h(...) 159 + @values.to_h(...) 160 160 end 161 161 end 162 162