Method: References::Reference#editorial
- Defined in:
- lib/references/reference.rb
#editorial(editorial) ⇒ Object
A Reference only can have a editorial. If you call this function twice times, this overwrite the las value The hash must have a :serie => String, :edition => String, :editionnumber => Number
52 53 54 55 56 |
# File 'lib/references/reference.rb', line 52 def editorial(editorial) @serie = editorial[:serie] @edition = editorial[:edition] @editionnumber = editorial[:editionnumber] end |