Module: LaserLemon::HotSerial::ClassMethods
- Defined in:
- lib/hot_serial.rb
Instance Method Summary collapse
Instance Method Details
#default_serialization_options ⇒ Object
24 25 26 |
# File 'lib/hot_serial.rb', line 24 def self..fetch(self.default_serialization_style, {}) end |
#hot_serial(*args) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/hot_serial.rb', line 17 def hot_serial(*args) = args. style = args.first || :default self.[style] = self.default_serialization_style ||= style end |