class Object

Public Instance Methods

create!(klass, &block) click to toggle source
# File lib/chop/dsl.rb, line 29
def create! klass, &block
  Chop.create! klass, self, &block
end
diff!(other_table="table", options={}) click to toggle source
Calls superclass method
# File lib/chop/dsl.rb, line 33
def diff! other_table="table", options={}, &block
  if other_table.respond_to?(:tag_name) || (other_table.is_a?(String) && !other_table.include?("|"))
    Chop.diff! other_table, self, options, &block
  else
    super
  end
end
fill_in!() click to toggle source
# File lib/chop/dsl.rb, line 41
def fill_in!
  Chop.fill_in! self
end