Class: ObjectInspector::Configuration
- Inherits:
-
Object
- Object
- ObjectInspector::Configuration
- Defined in:
- lib/object_inspector.rb
Instance Attribute Summary collapse
-
#flags_separator ⇒ Object
Returns the value of attribute flags_separator.
-
#formatter_class ⇒ Object
Returns the value of attribute formatter_class.
-
#info_separator ⇒ Object
Returns the value of attribute info_separator.
-
#inspect_method_prefix ⇒ Object
Returns the value of attribute inspect_method_prefix.
-
#out_of_scope_placeholder ⇒ Object
Returns the value of attribute out_of_scope_placeholder.
-
#wild_card_scope ⇒ Object
Returns the value of attribute wild_card_scope.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_separator ⇒ Object
Returns the value of attribute flags_separator.
21 22 23 |
# File 'lib/object_inspector.rb', line 21 def flags_separator @flags_separator end |
#formatter_class ⇒ Object
Returns the value of attribute formatter_class.
21 22 23 |
# File 'lib/object_inspector.rb', line 21 def formatter_class @formatter_class end |
#info_separator ⇒ Object
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_prefix ⇒ Object
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_placeholder ⇒ Object
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_scope ⇒ Object
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 |