Sha256: 7e62f903805a91b3899c6731da10c6dd78cede83faecd8d5fc5f87ec07f0f16c
Contents?: true
Size: 554 Bytes
Versions: 9
Compression:
Stored size: 554 Bytes
Contents
class BaseListPresenter attr_reader :context, :list alias_method :h, :context delegate( :[], :all?, :any?, :count, :cycle, :detect, :drop, :each, :empty?, :first, :inject, :last, :map, :none?, :one?, :pop, :reduce, :reject, :reverse, :rotate, :sample, :select, :size, :shift, :shuffle, :slice, :sort, :sort_by, :take_while, :zip, to: :list ) def initialize(list, context) @list, @context = list, context end end
Version data entries
9 entries across 9 versions & 1 rubygems