Class: ObjectInspector::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/object_inspector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



28
29
30
31
32
33
34
35
# File 'lib/object_inspector.rb', line 28

def initialize
  @formatter_class = TemplatingFormatter
  @inspect_method_prefix = "inspect".freeze
  @wild_card_scope = "all".freeze
  @out_of_scope_placeholder = "*".freeze
  @flags_separator = " / ".freeze
  @info_separator = " | ".freeze
end

Instance Attribute Details

#flags_separatorObject

Returns the value of attribute flags_separator.



21
22
23
# File 'lib/object_inspector.rb', line 21

def flags_separator
  @flags_separator
end

#formatter_classObject

Returns the value of attribute formatter_class.



21
22
23
# File 'lib/object_inspector.rb', line 21

def formatter_class
  @formatter_class
end

#info_separatorObject

Returns the value of attribute info_separator.



21
22
23
# File 'lib/object_inspector.rb', line 21

def info_separator
  @info_separator
end

#inspect_method_prefixObject

Returns the value of attribute inspect_method_prefix.



21
22
23
# File 'lib/object_inspector.rb', line 21

def inspect_method_prefix
  @inspect_method_prefix
end

#out_of_scope_placeholderObject

Returns the value of attribute out_of_scope_placeholder.



21
22
23
# File 'lib/object_inspector.rb', line 21

def out_of_scope_placeholder
  @out_of_scope_placeholder
end

#wild_card_scopeObject

Returns the value of attribute wild_card_scope.



21
22
23
# File 'lib/object_inspector.rb', line 21

def wild_card_scope
  @wild_card_scope
end