Sha256: 28a6c16ce7ea8a37be1b8f20ae5f2e9d811faf0df97b1bfe9b517612e950bb43

Contents?: true

Size: 617 Bytes

Versions: 15

Compression:

Stored size: 617 Bytes

Contents

module RuGUI
  class BaseModel < BaseObject
    include RuGUI::ObservablePropertySupport
    include RuGUI::LogSupport

    def initialize(observable_properties_values = {})
      initialize_observable_property_support(observable_properties_values)
    end

    # This is included here so that the initialize method is properly updated.
    include RuGUI::InitializeHooks

    # Returns the framework_adapter for this class.
    def framework_adapter
      framework_adapter_for('BaseModel')
    end

    # Called after the model is registered in a controller.
    def post_registration(controller)
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
intelitiva-rugui-1.3.1 lib/rugui/base_model.rb
intelitiva-rugui-1.3.2 lib/rugui/base_model.rb
rugui-2.0.0.beta3 lib/rugui/base_model.rb
rugui-2.0.0.beta2 lib/rugui/base_model.rb
rugui-1.6.0 lib/rugui/base_model.rb
rugui-1.5.4 lib/rugui/base_model.rb
rugui-1.5.3 lib/rugui/base_model.rb
rugui-1.5.2 lib/rugui/base_model.rb
rugui-1.5.0 lib/rugui/base_model.rb
rugui-1.4.3 lib/rugui/base_model.rb
rugui-1.4.2 lib/rugui/base_model.rb
rugui-1.4.0 lib/rugui/base_model.rb
rugui-1.3.3 lib/rugui/base_model.rb
rugui-1.3.1 lib/rugui/base_model.rb
rugui-1.3.2 lib/rugui/base_model.rb