Class: Pubid::Jis::Renderer::Amendment
- Inherits:
-
Base
- Object
- Core::Renderer::Base
- Base
- Pubid::Jis::Renderer::Amendment
show all
- Defined in:
- lib/pubid/jis/renderer/amendment.rb
Constant Summary
Constants inherited
from Base
Base::TYPE
Instance Method Summary
collapse
Methods inherited from Base
#render, #render_all_parts, #render_part, #render_publisher, #render_series, #render_year
Instance Method Details
#render_base(base, opts, _params) ⇒ Object
9
10
11
|
# File 'lib/pubid/jis/renderer/amendment.rb', line 9
def render_base(base, opts, _params)
base.to_s(**opts)
end
|
#render_identifier(params) ⇒ Object
5
6
7
|
# File 'lib/pubid/jis/renderer/amendment.rb', line 5
def render_identifier(params)
"%{base}/AMD %{number}%{year}" % params
end
|