Class: String

Inherits:
Object show all
Defined in:
lib/string.rb

Instance Method Summary collapse

Instance Method Details

#%(*args) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/string.rb', line 4

def %(*args)
  if Uncertain === args[0]
    args[0].to_s(self)
  else
    uncertain_format(*args)
  end
end

#uncertain_formatObject



2
# File 'lib/string.rb', line 2

alias :uncertain_format :%