Class: Pennyworth::Presenters::RFC

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/pennyworth/presenters/rfc.rb

Overview

Shapes a RFC record for serialization.

Instance Method Summary collapse

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

#subtitleObject



19
# File 'lib/pennyworth/presenters/rfc.rb', line 19

def subtitle = "#{description}. Published: #{published}."