Module: Relevance::CoreExtensions::Object

Included in:
Object
Defined in:
lib/relevance/core_extensions/ellipsize.rb

Instance Method Summary collapse

Instance Method Details

#ellipsize(cutoff = 20) ⇒ Object



18
19
20
# File 'lib/relevance/core_extensions/ellipsize.rb', line 18

def ellipsize(cutoff = 20)
  inspect.ellipsize(cutoff)
end