Class: GoonModelGen::Converter::ResultConv
- Inherits:
-
AbstractConv
- Object
- AbstractConv
- GoonModelGen::Converter::ResultConv
- Defined in:
- lib/goon_model_gen/converter/result_conv.rb
Instance Attribute Summary
Attributes inherited from AbstractConv
#file, #gen_type, #mappings, #model, #name
Class Method Summary collapse
-
.load_func(props) ⇒ String, boolean
Func, requires_context, returns_error.
Methods inherited from AbstractConv
Constructor Details
This class inherits a constructor from GoonModelGen::Converter::AbstractConv
Class Method Details
.load_func(props) ⇒ String, boolean
Returns func, requires_context, returns_error.
11 12 13 14 15 16 17 18 19 |
# File 'lib/goon_model_gen/converter/result_conv.rb', line 11 def load_func(props) if f = props['filter'] return f, false, false elsif f = props['writer'] return f, false, true else return nil, nil, nil end end |