# File lib/aws/s3/bucket_lifecycle_configuration.rb, line 119 def initialize bucket, options = {} @bucket = bucket @rules = parse_xml(options[:xml]) if options[:xml] @rules = [] if options[:empty] == true end