Sha256: 17c5d1dee1dc1f2ecf4dffaa9d498f193a628392b4bb7f492e0145402be9208a

Contents?: true

Size: 633 Bytes

Versions: 2

Compression:

Stored size: 633 Bytes

Contents

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Keep dictionary sorted by value.
- !ruby/struct:SM::Flow::VERB 
  body: "  d = Dictionary.new.order_by_value\n  d["z"] = 1\n  d["y"] = 2\n  d["x"] = 3\n  d  #=> {"x"=>3,"y"=>2,"z"=>2}\n"
- !ruby/struct:SM::Flow::P 
  body: "This is equivalent to:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Dictionary.new.order_by { |key,value| value }\n"
full_name: Dictionary#order_by_value
is_singleton: false
name: order_by_value
params: ()
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/Dictionary/order_by_value-i.yaml
facets-2.4.3 doc/ri/Dictionary/order_by_value-i.yaml