Module: AdequateSerialization::Decorator
- Defined in:
- lib/adequate_serialization/decorator.rb
Defined Under Namespace
Classes: Attachments, Null
Class Method Summary collapse
Class Method Details
.from(attachments) ⇒ Object
27 28 29 |
# File 'lib/adequate_serialization/decorator.rb', line 27 def self.from() .empty? ? Null.new : Attachments.new() end |