Class: Gorillib::Factory::RegexpFactory
- Inherits:
-
ConvertingFactory
- Object
- BaseFactory
- ConvertingFactory
- Gorillib::Factory::RegexpFactory
- Defined in:
- lib/gorillib/model/factories.rb
Instance Method Summary collapse
Methods inherited from ConvertingFactory
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
242 |
# File 'lib/gorillib/model/factories.rb', line 242 def convert(obj) Regexp.new(obj) end |