lib/cliutils/prefs/pref_actions/pref_action.rb in cliutils-2.0.3 vs lib/cliutils/prefs/pref_actions/pref_action.rb in cliutils-2.1.0

- old
+ new

@@ -4,29 +4,22 @@ class PrefAction include Messaging # Holds the parameters that apply to # this Action. - # @!attribute parameters # @return [Hash] attr_accessor :parameters - # Holds a reference to the pref that - # is implementing this Action. - # @!attribute pref - # @return [Pref] - attr_accessor :pref - # Runs the Action. Note that the # method implemented here will throw # an exception by default, meaning that # the user's subclass *needs* to # implement it. - # @parameter [Hash] parameters + # @param [Hash] parameters # @raise [StandardError] if the subclass # doesn't implement this method. # @return [void] def run fail "`run` method not implemented on caller: #{ self.class }" end end -end \ No newline at end of file +end