class ArelLike
Public Instance Methods
each() { |i| ... }
click to toggle source
# File actionview/test/lib/controller/fake_models.rb, line 186 def each a = Array.new(2) { |id| Comment.new(id + 1) } a.each { |i| yield i } end
to_ary()
click to toggle source
# File actionview/test/lib/controller/fake_models.rb, line 183 def to_ary true end