Class: Stepmod::Utils::Converters::ExpressFigure

Inherits:
Figure
  • Object
show all
Defined in:
lib/stepmod/utils/converters/express_figure.rb

Instance Method Summary collapse

Methods inherited from Figure

#extract_title, pattern

Instance Method Details

#to_coradoc(node, state = {}) ⇒ Object

def self.pattern(state, id)

"figure-exp-#{id}"

end



13
14
15
16
17
18
19
# File 'lib/stepmod/utils/converters/express_figure.rb', line 13

def to_coradoc(node, state = {})
  <<~TEMPLATE
    (*"#{state[:schema_and_entity]}.__figure"
    #{super(node, state.merge(no_notes_examples: nil)).strip}
    *)
  TEMPLATE
end