Class: Pennyworth::Presenters::RFC
- Inherits:
-
Object
- Object
- Pennyworth::Presenters::RFC
- Extended by:
- Forwardable
- Defined in:
- lib/pennyworth/presenters/rfc.rb
Overview
Shapes a RFC record for serialization.
Instance Method Summary collapse
-
#initialize(record) ⇒ RFC
constructor
A new instance of RFC.
- #subtitle ⇒ Object
Constructor Details
#initialize(record) ⇒ RFC
Returns a new instance of RFC.
13 14 15 |
# File 'lib/pennyworth/presenters/rfc.rb', line 13 def initialize record @record = record end |
Instance Method Details
#subtitle ⇒ Object
19 |
# File 'lib/pennyworth/presenters/rfc.rb', line 19 def subtitle = "#{description}. Published: #{published}." |