Sha256: f38de22768f78c0f639c29fea884705dd7bdea84346a0d0c47f2580677be5e12

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

module CLIUtils
  # A Behavior to prefix a Pref answer with a string
  class TestBehavior < PrefBehavior
    # Evaluates the behavior against the text.
    # @param [Object] text The "text" to evaluate
    # @return [String]
    def evaluate(text)
      "test_behavior: #{ text }"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cliutils-2.1.4 test/test_files/test_behavior.rb
cliutils-2.1.3 test/test_files/test_behavior.rb
cliutils-2.1.2 test/test_files/test_behavior.rb
cliutils-2.1.1 test/test_files/test_behavior.rb