Class: Expressir::Express::PrettyFormatter
- Defined in:
- lib/expressir/express/pretty_formatter.rb
Overview
Pretty formatter for EXPRESS schemas following ELF specification
Defined Under Namespace
Classes: Configuration
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Attributes inherited from Formatter
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ PrettyFormatter
constructor
Initialize PrettyFormatter with options.
Methods inherited from Formatter
Methods included from Formatters::RemarkItemFormatter
Constructor Details
#initialize(options = {}) ⇒ PrettyFormatter
Initialize PrettyFormatter with options
72 73 74 75 |
# File 'lib/expressir/express/pretty_formatter.rb', line 72 def initialize( = {}) @config = Configuration.new() super(no_remarks: .fetch(:no_remarks, false)) end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
60 61 62 |
# File 'lib/expressir/express/pretty_formatter.rb', line 60 def config @config end |