Module: Keybase::Core::U

Defined in:
lib/keybase/core/u.rb

Overview

A class for converting arrays of users into Keybase-style strings.

Class Method Summary collapse

Class Method Details

.[](*args) ⇒ String

Returns the Keybase-style user string.

Examples:

Keybase::U["a", "b"] # => "a,b"

Parameters:

  • args (Array<String>)

    the list of users to merge

Returns:

  • (String)

    the Keybase-style user string



11
12
13
# File 'lib/keybase/core/u.rb', line 11

def self.[](*args)
  args.join(",")
end