module AWS::S3::Tree::Parent
def append?
-
(Boolean)
- Returns true if the tree is set to auto-append
def append? @append end
def children
-
(Tree::ChildCollection)
- A collection representing all
def children Tree::ChildCollection.new(self, collection, :delimiter => delimiter, :prefix => prefix, :append => append?) end
def initialize collection, options = {}
- Private: -
def initialize collection, options = {} options = { :prefix => nil, :delimiter => '/', :append => true, }.merge(options) @collection = collection @prefix = options[:prefix] @delimiter = options[:delimiter] @append = options[:append] super end
def inspect
def inspect "<#{self.class}:#{collection.bucket.name}:#{prefix}>" end