Sha256: dc1e7a9d015ac24136252c679b2b4136ed2ad5a0a4ac63f648bca16ccebc1f9b

Contents?: true

Size: 152 Bytes

Versions: 26

Compression:

Stored size: 152 Bytes

Contents

#!/usr/bin/env ruby

WORDS_REGEX = /\w+/

STDIN.each_line do |line|
  words = line.scan(WORDS_REGEX)
  puts words.map { |word| word.upcase } * '_'
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ix-cli-0.0.6 bin/ix-constants
ix-cli-0.0.5 bin/ix-constants
ix-cli-0.0.4 bin/ix-constants
ix-cli-0.0.3 bin/ix-constants
ix-cli-0.0.2 bin/ix-constants
ix-cli-0.0.1 bin/ix-constants