Class: GtkApp::Model
- Inherits:
-
Object
- Object
- GtkApp::Model
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/gtk_app/model.rb
Instance Method Summary collapse
-
#initialize ⇒ Model
constructor
A new instance of Model.
Constructor Details
#initialize ⇒ Model
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 |