Module: Vocaloo::InstanceMethods
- Defined in:
- lib/vocaloo.rb
Instance Method Summary collapse
- #downcase? ⇒ Boolean
- #dramatize(opts = {}) ⇒ Object
- #hyperbolize(opts = {}) ⇒ Object
- #stringosaur ⇒ Object
- #upcase? ⇒ Boolean
Instance Method Details
#downcase? ⇒ Boolean
21 22 23 |
# File 'lib/vocaloo.rb', line 21 def downcase? !!self.match(/\p{Lower}/) end |
#dramatize(opts = {}) ⇒ Object
9 10 11 |
# File 'lib/vocaloo.rb', line 9 def dramatize(opts={}) Vocaloo.dramatize(self, opts) end |
#hyperbolize(opts = {}) ⇒ Object
5 6 7 |
# File 'lib/vocaloo.rb', line 5 def hyperbolize(opts={}) Vocaloo.hyperbolize(self, opts) end |
#stringosaur ⇒ Object
13 14 15 |
# File 'lib/vocaloo.rb', line 13 def stringosaur Vocaloo.stringosaur(self) end |
#upcase? ⇒ Boolean
17 18 19 |
# File 'lib/vocaloo.rb', line 17 def upcase? !!self.match(/\p{Upper}/) end |