Class: Entry

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/entry.rb

Direct Known Subclasses

Credit, Debit

Instance Method Summary collapse

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/models/entry.rb', line 9

def readonly?
  !new_record?
end