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

#postrender_stage, #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) ⇒ 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)
  # return false unless typed_stage

  !stage.nil? && !typed_stage.nil?
end