module DHS::Record::Chainable

Public Instance Methods

options(hash = nil) click to toggle source

You can start new option chains for already fetched records (needed for save, update, valid etc.)

# File lib/dhs/concerns/record/chainable.rb, line 11
def options(hash = nil)
  return method_missing(:options) if hash.nil?
  Chain.new(self.class, Option.new(hash), self)
end