Sha256: 2973b12a8e89364b73b8c2cb7fc9682cebba664d264460d1dadcdd280ef2bb9b

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

# @type method commit: (Hash<Symbol, String?>) -> { repo: String, branch: String?, tag: String?, commit: String? }?
def commit(hash)
  if repo = hash[:foo]
    {
      repo: repo,
      branch: hash[:bar],
      tag: hash[:baz],
      commit: hash[:commit]
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
steep-0.11.1 smoke/hash/f.rb
steep-0.11.0 smoke/hash/f.rb
steep-0.10.0 smoke/hash/f.rb