Module: Arb

Defined in:
lib/arb/str.rb,
lib/arb/str/version.rb

Overview

Examples:

String#enum:
'http://?/?/?'.enum '?',%w{domain1 domain2},%w{pictures videos jokes},1..3

=> ["http://domain1/pictures/1", 
    "http://domain1/pictures/2", 
    "http://domain1/pictures/3", 
    "http://domain1/videos/1", 
    "http://domain1/videos/2", 
    "http://domain1/videos/3", 
    "http://domain1/jokes/1", 
    "http://domain1/jokes/2",
    "http://domain1/jokes/3",
    "http://domain2/pictures/1",
    "http://domain2/pictures/2",
    "http://domain2/pictures/3",
    "http://domain2/videos/1",
    "http://domain2/videos/2",
    "http://domain2/videos/3",
    "http://domain2/jokes/1",
    "http://domain2/jokes/2",
    "http://domain2/jokes/3"]

Defined Under Namespace

Modules: Str