Module: Vocaloo::InstanceMethods

Defined in:
lib/vocaloo.rb

Instance Method Summary collapse

Instance Method Details

#downcase?Boolean

Returns:

  • (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

#stringosaurObject



13
14
15
# File 'lib/vocaloo.rb', line 13

def stringosaur
  Vocaloo.stringosaur(self)
end

#upcase?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/vocaloo.rb', line 17

def upcase?
  !!self.match(/\p{Upper}/)
end