Classes: Dahistory
4 5 6 7 8 9 10 11 12
# File 'lib/Dahistory.rb', line 4 def Dahistory file = nil da = Dahistory.new { |o| o.file(file) if file yield(o) if block_given? } da.save da end