Class: Pubid::Iec::Renderer::WorkingDocument

Inherits:
Pubid
  • Object
show all
Defined in:
lib/pubid/iec/renderer/working_document.rb

Instance Method Summary collapse

Methods inherited from Pubid

#render_amendments, #render_conjuction_part, #render_corrigendums, #render_database, #render_day, #render_edition, #render_fragment, #render_language, #render_month, #render_sheet, #render_type, #render_typed_stage, #render_vap, #render_version, #supplement_prefix

Instance Method Details

#render_identifier(params) ⇒ Object



3
4
5
# File 'lib/pubid/iec/renderer/working_document.rb', line 3

def render_identifier(params)
  "%{technical_committee}/%{number}%{stage}" % params
end

#render_stage(stage, _opts, _params) ⇒ Object



7
8
9
# File 'lib/pubid/iec/renderer/working_document.rb', line 7

def render_stage(stage, _opts, _params)
  "/#{stage}"
end