Module: DataMapper::Resource

Defined in:
lib/dm-activemodel.rb

Instance Method Summary collapse

Instance Method Details

#new_record?(*args) ⇒ Boolean

Returns:

  • (Boolean)


5
# File 'lib/dm-activemodel.rb', line 5

def new_record?(*args); new?(*args); end