Class: Gorillib::Factory::BinaryFactory

Inherits:
StringFactory show all
Defined in:
lib/gorillib/factories.rb

Instance Method Summary collapse

Methods inherited from StringFactory

#blankish?, #native?

Methods inherited from ConvertingFactory

#receive

Methods inherited from BaseFactory

blankish?, #blankish?, #initialize, #native?, native?, #receive, typename, #typename

Constructor Details

This class inherits a constructor from Gorillib::Factory::BaseFactory

Instance Method Details

#convert(obj) ⇒ Object



230
231
232
# File 'lib/gorillib/factories.rb', line 230

def convert(obj)
  super.force_encoding("BINARY")
end