Class: InferModel::To::Text

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer, Callable
Defined in:
lib/infer_model/to/text.rb

Instance Method Summary collapse

Instance Method Details

#callObject



11
12
13
14
15
16
# File 'lib/infer_model/to/text.rb', line 11

def call
  outstream << <<~TEXT
    #{title}
    #{formatted_attributes.join("\n\n")}
  TEXT
end