# File lib/aws-sdk-core/empty_structure.rb, line 4 def self.new super([]) end
# File lib/aws-sdk-core/empty_structure.rb, line 8 def ==(other) other.is_a?(EmptyStructure) end
# File lib/aws-sdk-core/empty_structure.rb, line 12 def [](member_name) raise NameError, "no member '#{member_name}' in struct" end
# File lib/aws-sdk-core/empty_structure.rb, line 16 def []=(member_name, value) raise NameError, "no member '#{member_name}' in struct" end
# File lib/aws-sdk-core/empty_structure.rb, line 20 def each(&block) unless block_given? [].to_enum end end
# File lib/aws-sdk-core/empty_structure.rb, line 26 def each_pair(&block) unless block_given? {}.to_enum end end
# File lib/aws-sdk-core/empty_structure.rb, line 32 def eql?(other) other.is_a?(EmptyStructure) end
@api private
# File lib/aws-sdk-core/empty_structure.rb, line 37 def inspect '#<struct>' end
# File lib/aws-sdk-core/empty_structure.rb, line 46 def length 0 end
# File lib/aws-sdk-core/empty_structure.rb, line 50 def members [] end
@api private
# File lib/aws-sdk-core/empty_structure.rb, line 42 def pretty_print(q) q.text(inspect) end
# File lib/aws-sdk-core/empty_structure.rb, line 54 def select(&block) [] end
# File lib/aws-sdk-core/empty_structure.rb, line 58 def size 0 end
# File lib/aws-sdk-core/empty_structure.rb, line 62 def to_a [] end
# File lib/aws-sdk-core/empty_structure.rb, line 66 def to_h {} end
# File lib/aws-sdk-core/empty_structure.rb, line 70 def values [] end
# File lib/aws-sdk-core/empty_structure.rb, line 74 def values_at(*selector) if selector.empty? [] else offset = selector.first raise IndexError, "offset #{offset} too large for struct(size:0)" end end