Sha256: 2f3742407a5c61ea3ce6e43514558b49341ead7704350717b47420605fb76cc5
Contents?: true
Size: 428 Bytes
Versions: 13
Compression:
Stored size: 428 Bytes
Contents
# Initializes the template. # @return [void] def init sections :header, :box_info, T('tags'), :overview, :input, :parameters end def json object.statement.json end def description json['description'] end # Renders the parameters section. # @return [String] Returns the rendered section. def parameters @parameters = json['parameters'] || [] @parameters.to_a.sort! @tag_title = 'Parameters' erb(:parameters) end
Version data entries
13 entries across 13 versions & 1 rubygems