Class: Pubid::Iso::Renderer::InternationalStandard

Inherits:
Base
  • Object
show all
Defined in:
lib/pubid/iso/renderer/international_standard.rb

Constant Summary

Constants inherited from Base

Base::TRANSLATION, Base::TYPE

Instance Attribute Summary

Attributes inherited from Base

#prerendered_params

Instance Method Summary collapse

Methods inherited from Base

#render, #render_addendum, #render_base, #render_base_identifier, #render_copublisher_string, #render_edition, #render_identifier, #render_iteration, #render_language, #render_part, #render_publisher, #render_stage, #render_type_prefix, #render_typed_stage, #render_year

Instance Method Details

#omit_post_publisher_symbol?(typed_stage, stage, opts) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
8
9
# File 'lib/pubid/iso/renderer/international_standard.rb', line 5

def omit_post_publisher_symbol?(typed_stage, stage, opts)
  return true if stage.is_a?(Pubid::Core::TypedStage) && stage.abbr == :is

  super
end

#postrender_stage(stage, opts, params) ⇒ Object



11
12
13
14
15
# File 'lib/pubid/iso/renderer/international_standard.rb', line 11

def postrender_stage(stage, opts, params)
  return if stage.is_a?(Pubid::Core::TypedStage) && stage.abbr == :is

  super
end