Module: Jat::Plugins::ToStr::InstanceMethods

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

Instance Method Summary collapse

Instance Method Details

#to_str(object) ⇒ Object



26
27
28
29
# File 'lib/jat/plugins/to_str/to_str.rb', line 26

def to_str(object)
  hash = to_h(object)
  config[:to_str].call(hash)
end