palindrome_string_prashant 0.0.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ca32a8ccfc21c424d815b0f98211f187e39291fc
4
+ data.tar.gz: 305fd8c260c76fb13e48fa562893a127e6cc6af6
5
+ SHA512:
6
+ metadata.gz: 0ebae8b6bd1a0ff2fb34b8054c95d7e6478654606f8a4ead424b25920ffea0e2942f278aa6cac8b4903c176e1d8769e75858f905091ccdc66c17d016144d03c1
7
+ data.tar.gz: 9feecd792ec582f1fde4dea9b10619d5f28c84df57e674049861a578c9ef5ab540d9b7cfac2ecf12537f2c8380b2687e2e13bea20c4f1f6e0300df7a7d4c787b
@@ -0,0 +1,7 @@
1
+ class PalindromeString < String
2
+
3
+ def palindrome?
4
+ self.reverse.eql?(self)
5
+ end
6
+
7
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: palindrome_string_prashant
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Prashant
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-09-03 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Has a class PalindromeString which contains method palindrome?
14
+ email: prashantsingla01@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/palindrome_string_prashant.rb
20
+ homepage: http://rubygems.org/gems/palindrome_prash
21
+ licenses:
22
+ - NEEV
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.0.3
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: to check whther a string is palindrome or not
44
+ test_files: []