Sha256: b8ef4a35cfb8e2af6507229b05af01ca575e2fdde92ac268565db2516bebad46

Contents?: true

Size: 147 Bytes

Versions: 7

Compression:

Stored size: 147 Bytes

Contents

== Class#to_proc

  require 'facets/class/to_proc'

  person = Struct.new(:name)
  people = ["joe"].map(&person)
  people[0].name.assert == "joe"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-3.0.0 demo/core/class/to_proc.rdoc
facets-2.9.3 qed/core/class/to_proc.rdoc
facets-2.9.2 qed/core/class/to_proc.rdoc
facets-2.9.1 qed/core/class/to_proc.rdoc
facets-2.9.0 qed/core/class/to_proc.rdoc
facets-2.9.0.pre.2 qed/core/class/to_proc.rdoc
facets-2.9.0.pre.1 qed/core/class/to_proc.rdoc