Skip to content

Instantly share code, notes, and snippets.

@toshia
Last active January 20, 2016 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toshia/245bea8c8a3a0f18ce14 to your computer and use it in GitHub Desktop.
Save toshia/245bea8c8a3a0f18ce14 to your computer and use it in GitHub Desktop.
did_you_mean gem、便利
class WC
def unkonow
'うんこなう'
end
end # => :unkonow
WC.new.unkonow # => "うんこなう"
WC.new.unknown
# NoMethodError: undefined method `unknown' for #<WC:0x007fc4420e0f48>
# Did you mean? unkonow
# from (pry):27:in `__pry__'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment