Class: Postspec::SeedFrame

Inherits:
Frame
  • Object
show all
Defined in:
lib/postspec/frame.rb

Instance Attribute Summary

Attributes inherited from Frame

#anchors, #ids, #parent, #pop_sql, #postspec, #push_sql, #search_path

Instance Method Summary collapse

Methods inherited from Frame

#dump, #schema

Constructor Details

#initialize(postspec, ids, anchors = nil) ⇒ SeedFrame

Returns a new instance of SeedFrame.



132
133
134
135
136
# File 'lib/postspec/frame.rb', line 132

def initialize(postspec, ids, anchors = nil)
  constrain ids, { String => Integer }
  constrain anchors, FixtureFox::Anchors, NilClass
  super(postspec, nil, nil, [], [], ids, anchors)
end

Instance Method Details

#transaction?Boolean

Returns:

  • (Boolean)


130
# File 'lib/postspec/frame.rb', line 130

def transaction?() false end