Module: Paf::Formattable::ClassMethods

Defined in:
lib/paf/formattable.rb

Overview

Methods to be added to the including class

Instance Method Summary collapse

Instance Method Details

#to_s(*args) ⇒ Object



33
34
35
36
# File 'lib/paf/formattable.rb', line 33

def to_s(*args)
  return super if args.empty?
  new(args[0]).to_s
end