Class: Postspec::EmptyFrame
Instance Attribute Summary
Attributes inherited from Frame
#anchors, #ids, #parent, #pop_sql, #postspec, #push_sql, #search_path
Instance Method Summary collapse
-
#initialize(postspec) ⇒ EmptyFrame
constructor
A new instance of EmptyFrame.
- #transaction? ⇒ Boolean
Methods inherited from Frame
Constructor Details
#initialize(postspec) ⇒ EmptyFrame
Returns a new instance of EmptyFrame.
141 142 143 144 |
# File 'lib/postspec/frame.rb', line 141 def initialize(postspec) push_sql = pop_sql = postspec.render.delete_tables(postspec.tables.map(&:uid)) super(postspec, nil, nil, push_sql, pop_sql, {}, nil) end |
Instance Method Details
#transaction? ⇒ Boolean
139 |
# File 'lib/postspec/frame.rb', line 139 def transaction?() false end |