class AWS::Core::Data::List

def initialize array

Parameters:
  • array (Array) --
def initialize array
  @data = array
end

def inject *args, &block

Other tags:
    Private: -
def inject *args, &block
  @data.inject(*args) do |obj,value|
    yield(Data.cast(obj),Data.cast(value))
  end
end

def inspect

Returns:
  • (String) - Returns the inspection string for the
def inspect
  @data.inspect
end

def kind_of? klass

Other tags:
    Private: -
def kind_of? klass
  if klass == Array
    true
  else
    super
  end
end

def to_ary

Returns:
  • (Array) - Returns the contents of this Data::List as
def to_ary
  @data
end