Class: EasyExport::ExportConfig
- Inherits:
-
Object
- Object
- EasyExport::ExportConfig
- Defined in:
- lib/easy_export.rb
Instance Attribute Summary collapse
-
#partial ⇒ Object
Returns the value of attribute partial.
Instance Method Summary collapse
Instance Attribute Details
#partial ⇒ Object
Returns the value of attribute partial.
38 39 40 |
# File 'lib/easy_export.rb', line 38 def partial @partial end |
Instance Method Details
#fields(val = nil) ⇒ Object
44 45 46 |
# File 'lib/easy_export.rb', line 44 def fields(val = nil) val.nil? ? @fields : @fields = build_fields(val) end |
#scope(val = nil) ⇒ Object
40 41 42 |
# File 'lib/easy_export.rb', line 40 def scope(val = nil) val.nil? ? @scope : @scope = val end |