gogotanaka / Rubype

:dromedary_camel: Super simple, clean. Contracts for Ruby
http://gogotanaka.github.io/rubype.github.io/
377 stars 14 forks source link

Keyword arguments #7

Open recursive-madman opened 9 years ago

recursive-madman commented 9 years ago

like this:

  def create_user(database_name, login:, password:, active:)
  end
  typesig :create_user, [String] => NilClass, login: String, password: String, active: TrueClass | FalseClass

(example requires #4)