Class: MismatchInspectable::FormatBuilder

Inherits:
Struct
  • Object
show all
Defined in:
lib/mismatch_inspectable/formatter/format_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



6
7
8
# File 'lib/mismatch_inspectable/formatter/format_builder.rb', line 6

def format
  @format
end

Instance Method Details

#formatterObject



7
8
9
# File 'lib/mismatch_inspectable/formatter/format_builder.rb', line 7

def formatter
  @formatter ||= select_formatter
end