Class: Piglet::Inout::Store
- Inherits:
-
Object
- Object
- Piglet::Inout::Store
- Includes:
- Output, StorageTypes
- Defined in:
- lib/piglet/inout/store.rb
Overview
:nodoc:
Constant Summary
Constants included from StorageTypes
Piglet::Inout::StorageTypes::LOAD_STORE_FUNCTIONS
Instance Attribute Summary
Attributes included from Output
Instance Method Summary collapse
-
#initialize(relation, path, options = {}) ⇒ Store
constructor
A new instance of Store.
- #to_s ⇒ Object
Methods included from StorageTypes
Constructor Details
#initialize(relation, path, options = {}) ⇒ Store
Returns a new instance of Store.
9 10 11 |
# File 'lib/piglet/inout/store.rb', line 9 def initialize(relation, path, ={}) @relation, @path, @using = relation, path, [:using] end |
Instance Method Details
#to_s ⇒ Object
13 14 15 16 17 18 |
# File 'lib/piglet/inout/store.rb', line 13 def to_s str = super str << " INTO '#{@path}'" str << " USING #{resolve_load_store_function(@using)}" if @using str end |