Sha256: e1a1bb3f7ca702c9f4255cdfe580d6de41e0d4ee9ec4da35a2da040449b7a5a9

Contents?: true

Size: 856 Bytes

Versions: 2

Compression:

Stored size: 856 Bytes

Contents

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a two element array of the relationship between two Ranges.
- !ruby/struct:SM::Flow::P 
  body: "Diagram:"
- !ruby/struct:SM::Flow::VERB 
  body: "    Relationship     Returns\n\n  self |-----------|\n  r    |-----------|    [0,0]\n\n  self |-----------|\n  r     |---------|     [-1,-1]\n\n  self  |---------|\n  r    |-----------|    [1,1]\n\n  self |-----------|\n  r     |----------|    [-1,0]\n\n  self |-----------|\n  r     |-----------|   [-1,1]\n\n  etc.\n"
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  (0..3).umbrella(1..2)  #=>  [-1,-1]\n\n  CREDIT: Trans\n  CREDIT: Chris Kappler\n"
full_name: Range#umbrella
is_singleton: false
name: umbrella
params: (r)
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/Range/umbrella-i.yaml
facets-2.4.3 doc/ri/Range/umbrella-i.yaml