gistlib
other ruby categories
tag1:-ruby-tag2:-programming-tag3:-syntax-error code snippets in ruby
what is wrong? `module resistorcolorduo cols = %w(black brown white).map.with_index.to_h def self.value(input) input.first(2).sum('', &cols).to_i end end` in ruby
gistlib
by LogSnag