ms_lorem 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +19 -3
- data/VERSION +1 -1
- data/ms_lorem.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
= ms_lorem
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This gem creates a new subclass of String which will generate a random Lorem Ipsum string of any length.
|
|
4
|
+
|
|
5
|
+
== Installation:
|
|
6
|
+
|
|
7
|
+
$> gem install ms_lorem
|
|
8
|
+
|
|
9
|
+
== Usage:
|
|
10
|
+
|
|
11
|
+
Simply invoke a new instance as follows:
|
|
12
|
+
|
|
13
|
+
@lorem_str = Lorem.new
|
|
14
|
+
|
|
15
|
+
This will create a random string of 20 words. New takes one parameter, the number of words to generate. So,
|
|
16
|
+
|
|
17
|
+
@lorem_str = Lorem.new(50)
|
|
18
|
+
|
|
19
|
+
will create a string with 50 words in it.
|
|
4
20
|
|
|
5
21
|
== Note on Patches/Pull Requests
|
|
6
|
-
|
|
22
|
+
|
|
7
23
|
* Fork the project.
|
|
8
24
|
* Make your feature addition or bug fix.
|
|
9
25
|
* Add tests for it. This is important so I don't break it in a
|
|
@@ -14,4 +30,4 @@ Description goes here.
|
|
|
14
30
|
|
|
15
31
|
== Copyright
|
|
16
32
|
|
|
17
|
-
Copyright (c) 2010
|
|
33
|
+
Copyright (c) 2010 Will Merrell. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.2.0
|
data/ms_lorem.gemspec
CHANGED