Class: Commons::Lang::Builder::ToSStyle::ShortPrefixToSStyle

Inherits:
Commons::Lang::Builder::ToSStyle show all
Defined in:
lib/commons/lang/builder/to_s_style.rb

Overview

ToSStyle that prints out the short class name and no identity hashcode.

Constant Summary

Constants inherited from Commons::Lang::Builder::ToSStyle

DEFAULT_STYLE, MULTI_LINE_STYLE, NO_FIELD_NAMES_STYLE, SHORT_PREFIX_STYLE, SIMPLE_STYLE

Instance Method Summary collapse

Methods inherited from Commons::Lang::Builder::ToSStyle

#append, #append_end, #append_start, #append_super, #append_to_s, #register, #registered?, #unregister

Constructor Details

#initializeShortPrefixToSStyle

Returns a new instance of ShortPrefixToSStyle.



429
430
431
432
433
# File 'lib/commons/lang/builder/to_s_style.rb', line 429

def initialize
  super()
  self.use_short_className = true
  self.use_identity_hash_code = false
end