Sha256: 67ce8dbfa86f65e291dc31e38b39535127446210aabd5cb6f60db2ea80ef670b

Contents?: true

Size: 299 Bytes

Versions: 7

Compression:

Stored size: 299 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

7 entries across 7 versions & 1 rubygems

Version Path
cliutils-2.2.6 support/test_behavior.rb
cliutils-2.2.5 support/test_behavior.rb
cliutils-2.2.4 support/test_behavior.rb
cliutils-2.2.3 support/test_behavior.rb
cliutils-2.2.2 support/test_behavior.rb
cliutils-2.2.1 support/test_behavior.rb
cliutils-2.2.0 support/test_behavior.rb