lib/cliutils/prefs/pref_behaviors/pref_behavior.rb in cliutils-2.0.3 vs lib/cliutils/prefs/pref_behaviors/pref_behavior.rb in cliutils-2.1.0
- old
+ new
@@ -7,20 +7,15 @@
# Holds the parameters associated with
# this behavior.
# @return [Hash]
attr_accessor :parameters
- # Holds a reference to the Pref that
- # is applying this Behavior.
- # @return [Pref]
- attr_accessor :pref
-
# Evaluate the Behavior!
- # @parameter [Hash] parameters
+ # @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
\ No newline at end of file
+end