Project

General

Profile

Backport #7408 ยป no_warning.rb

agrimm (Andrew Grimm), 11/20/2012 06:00 PM

 
1
# no_warning.rb
2
def no_warning
3
  foo = 1
4
  {:foo => 1}
5
end
6

    
7
def has_warning
8
  foo = 1
9
  {:bar => 1}
10
end
11