Class: ArtDecomp::B
- Inherits:
-
Object
- Object
- ArtDecomp::B
- Defined in:
- lib/art-decomp/b.rb
Class Method Summary collapse
Class Method Details
.[](*ints) ⇒ Object
3 4 5 |
# File 'lib/art-decomp/b.rb', line 3 def self.[] *ints ints.inject(0) { |int, elem| int | 1 << elem } end |