Class: Bumblebee::NullConverter

Inherits:
Object
  • Object
show all
Defined in:
lib/bumblebee/null_converter.rb

Overview

Base converter using the Null Object Pattern. Use this when a custom converter is not needed.

Instance Method Summary collapse

Instance Method Details

#convert(val) ⇒ Object



13
14
15
# File 'lib/bumblebee/null_converter.rb', line 13

def convert(val)
  val
end