lorem_wdipsum 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/lorem_wdipsum.rb +24 -0
- metadata +44 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8b3a38a77f0a3e8878a4d773588168ad46a2bb48
|
4
|
+
data.tar.gz: fd81043e8b93ec99af1682295647b6e385b5ab31
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2af35181a63a6f4d92a600f485e15c6990bdb802972dd61c728258e391e5786fbc08f85d2590de92917957bfa4de1b0e2c8bfdf8e1ed975b14631069b347a67e
|
7
|
+
data.tar.gz: 1bc0d04a85fff57be46894a4e8c8aa59e250bc6f2e61eaa247316a999ad7e1b66783dee15f6ce4d2e252ff5511612fe2acae4ad081a6d5e2f395b5b64966f43d
|
@@ -0,0 +1,24 @@
|
|
1
|
+
class Lorem
|
2
|
+
|
3
|
+
@words = ["Yaniv Savir", "Matthew Plummer", "Isaac Woodruff", "Brendan Soffientini", "Michael Deal", "Julie Kraft", "Eric Streske", "Jonathan Trope", "Daniel Bushkanets", "Nate Hindman", "Ethan Schmertzler", "Matthew Jacobs", "John Gordon", "Wright Rickman", "Evan Besser", "Brittany Wald", "Meghann Plunkett", "Omar Delarosa", "Neel Patel", "code", "GA", "WDI", "Studio 3", "ruby", "javascript", "postgres", "API", "When we get to Rails", "nec", "non", "sum", "oli", "sit", "per", "hum", "varchar the viking", "sexy sexy", "screen down music", "project week", "Little Insects", "onesie bathroom", "Faker gem", "karaoke", "The Factory", "Turger", "Lydia", "Rat Chaos", "Rat King"]
|
4
|
+
|
5
|
+
def self.put_word
|
6
|
+
word = @words.sample
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.word(length)
|
10
|
+
if length <= @words.length
|
11
|
+
length.times do
|
12
|
+
puts put_word
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.paragraph(length)
|
18
|
+
length.times do
|
19
|
+
sentence = word(8)
|
20
|
+
puts sentence
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lorem_wdipsum
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Neel Patel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Lorem Ipsum generator custom tailored to WDI Lambda
|
14
|
+
email: neelp22@gmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/lorem_wdipsum.rb
|
20
|
+
homepage: http://rubygems.org/gems/hola
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubyforge_project:
|
40
|
+
rubygems_version: 2.1.11
|
41
|
+
signing_key:
|
42
|
+
specification_version: 4
|
43
|
+
summary: Lorem Ipsum WDIum Lambdaum
|
44
|
+
test_files: []
|