Class: Pubid::Iec::Renderer::UrnSupplement
- Inherits:
-
Core::Renderer::Urn
- Object
- Core::Renderer::Urn
- Pubid::Iec::Renderer::UrnSupplement
- Defined in:
- lib/pubid/iec/renderer/urn_supplement.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#render_number(number, _opts, params) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/pubid/iec/renderer/urn_supplement.rb', line 3 def render_number(number, _opts, params) if params[:year] ":v#{number}" else ":#{number}:v1" end end |