Sha256: df4cb2e8994dffffb07825d1cdca0a2384b7f094b574f5c700acac6079acf5e1
Contents?: true
Size: 490 Bytes
Versions: 13
Compression:
Stored size: 490 Bytes
Contents
module Restfulie module Client module Mikyung # Concatenates pure text in order to build messages # that are used as patterns. # Usage: # When there is a machine # # Will invoke concatenate 'machine' with 'a' with 'is' with 'there' class Concatenator attr_reader :content def initialize(content, *args) @content = args.inject(content) { |buf, arg| buf << " " << arg.content } end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems