Sha256: c81efdd3b3b8ab203deb85bae9bf90d9c8fbabbc457234d57f745bced376f484
Contents?: true
Size: 366 Bytes
Versions: 11
Compression:
Stored size: 366 Bytes
Contents
module Hanzo module Heroku class << self def available_labs Hanzo.run('heroku labs').each_line.to_a.reduce([]) do |memo, line| if line = /^\[\s\]\s+(?<name>\w+)\s+(?<description>.+)$/.match(line) memo << [line[:name], line[:description]] else memo end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems