shia 0.0.4 → 0.0.6
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 +1 -1
- data/lib/shia.rb +7 -0
- metadata +1 -1
data/README
CHANGED
data/lib/shia.rb
CHANGED
|
@@ -2,8 +2,15 @@ class Shia
|
|
|
2
2
|
def self.hi
|
|
3
3
|
puts "Shia: a quick sanitizing gem"
|
|
4
4
|
end
|
|
5
|
+
|
|
5
6
|
def self.clean(input)
|
|
6
7
|
clean_input = input.strip
|
|
7
8
|
puts clean_input
|
|
8
9
|
end
|
|
10
|
+
|
|
11
|
+
def self.fill_in(text,replace)
|
|
12
|
+
clean_input = text.split(replace).inspect
|
|
13
|
+
puts clean_input
|
|
14
|
+
end
|
|
15
|
+
|
|
9
16
|
end
|