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.27 bin/ix-constants
ix-cli-0.0.26 bin/ix-constants
ix-cli-0.0.25 bin/ix-constants
ix-cli-0.0.24 bin/ix-constants
ix-cli-0.0.23 bin/ix-constants
ix-cli-0.0.22 bin/ix-constants
ix-cli-0.0.21 bin/ix-constants
ix-cli-0.0.20 bin/ix-constants
ix-cli-0.0.19 bin/ix-constants
ix-cli-0.0.18 bin/ix-constants
ix-cli-0.0.17 bin/ix-constants
ix-cli-0.0.16 bin/ix-constants
ix-cli-0.0.15 bin/ix-constants
ix-cli-0.0.14 bin/ix-constants
ix-cli-0.0.13 bin/ix-constants
ix-cli-0.0.12 bin/ix-constants
ix-cli-0.0.11 bin/ix-constants
ix-cli-0.0.10 bin/ix-constants
ix-cli-0.0.9 bin/ix-constants
ix-cli-0.0.7 bin/ix-constants