Top Level Namespace

Defined Under Namespace

Modules: Bootsnap, Kernel

Instance Method Summary collapse

Instance Method Details

#foo(bars) ⇒ Object

rubocop:disable Style/FrozenStringLiteralComment



2
3
4
5
6
7
# File 'lib/bootsnap/compile_cache/ruby_bug_22023_canary.rb', line 2

def foo(bars)
  case bars
  in [one, "a" | "b" => two]
    puts "#{one} - #{two}"
  end
end