Class: Commons::Lang::Builder::ToSStyle::NoFieldNameToSStyle

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

Overview

ToSStyle that does not print out the field names.

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

#initializeNoFieldNameToSStyle

Returns a new instance of NoFieldNameToSStyle.



413
414
415
416
# File 'lib/commons/lang/builder/to_s_style.rb', line 413

def initialize
  super()
  self.use_field_names = false
end