sherry 0.0.1 → 0.0.2
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.textile +21 -3
- data/lib/core_ext/kernel.rb +4 -0
- data/lib/sherry/version.rb +1 -1
- data/spec/sherry_spec.rb +6 -0
- metadata +1 -1
data/README.textile
CHANGED
@@ -1,13 +1,31 @@
|
|
1
1
|
h1. Sherry?
|
2
2
|
|
3
|
-
The proper response to this is always "Rather." Therefore, this gem, when loaded, attaches the method @sherry?@ to all objects.
|
3
|
+
The proper response to this is always "Rather." Therefore, this gem, when loaded, attaches the method @sherry?@ and @alfred?@ to all objects. @sherry?@ will always return the string "Rather." @alfred?@ will always return the string "Yes, m'lord?"
|
4
|
+
|
5
|
+
h2. Install
|
6
|
+
|
7
|
+
bc. gem install sherry
|
8
|
+
|
9
|
+
or in your Gemfile:
|
10
|
+
|
11
|
+
bc. gem 'sherry'
|
12
|
+
|
13
|
+
h2. Usage
|
14
|
+
|
15
|
+
bc. irb> require 'sherry'
|
16
|
+
=> true
|
17
|
+
|
18
|
+
bc. irb> Object.sherry?
|
19
|
+
=> "Rather."
|
20
|
+
|
21
|
+
bc. irb> Object.alfred?
|
22
|
+
=> "Yes, m'lord?"
|
4
23
|
|
5
24
|
h2. Acknowledgements
|
6
25
|
|
7
|
-
Written by: Bradley Grzesiak of "Bendyworks":http://bendyworks.com
|
26
|
+
Written by: "Bradley Grzesiak":http://github.com/listrophy and "Devin Walters":http://github.com/devn of "Bendyworks":http://bendyworks.com
|
8
27
|
|
9
28
|
Inspired by a night after RailsConf 2011 with:
|
10
|
-
* "Devin Walters":http://github.com/devn
|
11
29
|
* "Jason Stirk":http://github.com/jstirk
|
12
30
|
* "Mark Glossop":http://github.com/Cueball
|
13
31
|
* "Mikel Lindsaar":http://github.com/mikel
|
data/lib/core_ext/kernel.rb
CHANGED
data/lib/sherry/version.rb
CHANGED
data/spec/sherry_spec.rb
CHANGED