class FlickRaw::ResponseList

Public Class Methods

new(h, t, a) click to toggle source
Calls superclass method
# File lib/flickraw/response.rb, line 39
def initialize(h, t, a); super(h, t); @a = a end

Public Instance Methods

[](k) click to toggle source
Calls superclass method FlickRaw::Response#[]
# File lib/flickraw/response.rb, line 40
def [](k); k.is_a?(Integer) ? @a[k] : super(k) end
each() { |e| ... } click to toggle source
# File lib/flickraw/response.rb, line 41
def each
   @a.each { |e| yield e }
end
inspect() click to toggle source
# File lib/flickraw/response.rb, line 45
def inspect; @a.inspect end
length()
Alias for: size
map!() { |e| ... } click to toggle source
# File lib/flickraw/response.rb, line 47
def map!
  @a = @a.map { |e| yield e }
end
marshal_dump() click to toggle source
# File lib/flickraw/response.rb, line 50
def marshal_dump; [@h, @flickr_type, @a] end
size() click to toggle source
# File lib/flickraw/response.rb, line 46
def size; @a.size end
Also aliased as: length
to_a() click to toggle source
# File lib/flickraw/response.rb, line 44
def to_a; @a end