urlybird 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -1
- data/lib/urlybird/version.rb +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -19,10 +19,12 @@ Add new or additional query string parameters:
|
|
19
19
|
Worms: http://urlybird.com/search?q=worms
|
20
20
|
EOL
|
21
21
|
|
22
|
-
|
22
|
+
content = UrlyBird.seek(content) do |url|
|
23
23
|
url.query_values = (url.query_values || {}).merge(:q1 => 'one')
|
24
24
|
end
|
25
25
|
|
26
|
+
puts content
|
27
|
+
|
26
28
|
The above example will print:
|
27
29
|
|
28
30
|
<a href="http://urlybird.com/?q1=one">Worms</a>
|
data/lib/urlybird/version.rb
CHANGED