Sha256: 944f163b17ef4197957fef397255e254b903dff9fe55ff469d8d771fbf6981da
Contents?: true
Size: 509 Bytes
Versions: 12
Compression:
Stored size: 509 Bytes
Contents
module CLIUtils # The generic base class for a Pref # Behavior. class PrefBehavior include Messaging # Holds the parameters associated with # this behavior. # @return [Hash] attr_accessor :parameters # Evaluate the Behavior! # @param [String] text # @raise [StandardError] if the subclass # doesn't implement this method. # @return [void] def evaluate(text = '') fail "`evaluate` method not implemented on caller: #{ self.class }" end end end
Version data entries
12 entries across 12 versions & 1 rubygems