Class: ModelExplorer::Associations::Singular
- Defined in:
- lib/model_explorer/associations/singular.rb
Instance Attribute Summary
Attributes inherited from Base
#association, #record, #reflection
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ModelExplorer::Associations::Base
Instance Method Details
#export ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/model_explorer/associations/singular.rb', line 4 def export { name: name, type: macro, records: export_records } end |