Class: GtkApp::Model

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
lib/gtk_app/model.rb

Instance Method Summary collapse

Constructor Details

#initializeModel

Returns a new instance of Model.



7
8
9
# File 'lib/gtk_app/model.rb', line 7

def initialize
  @errors = ActiveModel::Errors.new(self)
end