Module: Jat::Plugins::ToStr::ClassMethods

Defined in:
lib/jat/plugins/to_str/to_str.rb

Instance Method Summary collapse

Instance Method Details

#to_str(object, context = nil) ⇒ Object



20
21
22
# File 'lib/jat/plugins/to_str/to_str.rb', line 20

def to_str(object, context = nil)
  new(context || FROZEN_EMPTY_HASH).to_str(object)
end