Class: Commons::Lang::Builder::ToSStyle::ShortPrefixToSStyle
- Inherits:
-
Commons::Lang::Builder::ToSStyle
- Object
- Commons::Lang::Builder::ToSStyle
- Commons::Lang::Builder::ToSStyle::ShortPrefixToSStyle
- 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
-
#initialize ⇒ ShortPrefixToSStyle
constructor
A new instance of ShortPrefixToSStyle.
Methods inherited from Commons::Lang::Builder::ToSStyle
#append, #append_end, #append_start, #append_super, #append_to_s, #register, #registered?, #unregister
Constructor Details
#initialize ⇒ ShortPrefixToSStyle
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 |