You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lwrp_base.rb
    path of file: ./repos/chef/lib/chef/resource
    
    the code of the file until where you have to start completion: #
# Author:: Adam Jacob (<adam@chef.io>)
# Author:: Christopher Walters (<cw@chef
    
        def actions(*action_names)
          action_names = action_names.flatten
          if !action_names.empty? && !@allowed_actions
            self.allowed_actions = ([ :nothing ] + action_names).uniq
          else
            allowed_actions(*action_names)
          end