public
Created

Kleyn: FP II

  • Download Gist
no_worky.rb
Ruby
1 2 3 4 5 6 7 8
def some_method
def return_function
end
end
 
some_method # => nil
x = some_method
x() # => NoMethodError: undefined method `x' for main:Object

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.