Sha256: 183c3df54866fb45e4c31f38f7730294cf3f9716cff1018253454750c511a861
Contents?: true
Size: 306 Bytes
Versions: 16
Compression:
Stored size: 306 Bytes
Contents
module CLIUtils # A Behavior to prefix a Pref answer with a string class PrefixBehavior < PrefBehavior # Evaluates the behavior against the text. # @param [Object] text The "text" to evaluate # @return [String] def evaluate(text) @parameters[:prefix] + text.to_s end end end
Version data entries
16 entries across 16 versions & 1 rubygems