Class: Commons::Lang::Builder::ToSStyle::SimpleToSStyle
- Inherits:
-
Commons::Lang::Builder::ToSStyle
- Object
- Commons::Lang::Builder::ToSStyle
- Commons::Lang::Builder::ToSStyle::SimpleToSStyle
- Defined in:
- lib/commons/lang/builder/to_s_style.rb
Overview
ToSStyle that does not print out the classname, identity hashcode, content start or field name.
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 ⇒ SimpleToSStyle
constructor
A new instance of SimpleToSStyle.
Methods inherited from Commons::Lang::Builder::ToSStyle
#append, #append_end, #append_start, #append_super, #append_to_s, #register, #registered?, #unregister
Constructor Details
#initialize ⇒ SimpleToSStyle
Returns a new instance of SimpleToSStyle.
446 447 448 449 450 451 452 453 |
# File 'lib/commons/lang/builder/to_s_style.rb', line 446 def initialize super() self.use_class_name = false self.use_identity_hash_code = false self.use_field_names = false self.content_start = '' self.content_end = '' end |