Sha256: 79f581533083cd2a2cdf8ff0e155a7945b42fec8c1421fff77603e885fb6996c

Contents?: true

Size: 469 Bytes

Versions: 17

Compression:

Stored size: 469 Bytes

Contents

module Droiuby
  class Plugins
    
    def self.descendants
      @descendants ||= []
    end

    def self.inherited(descendant)
      descendants << descendant
    end

    #ran after all classes are initialized and before executing the MainActivity on_create method
    def after_bootstrap
    end
    
    #after a partial is rendered
    def after_partial_setup(view)
    end
    
    #after a complete view is rendered
    def after_view_setup
    end

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
droiuby-0.3.6 lib/droiuby/plugins/plugins.rb
droiuby-0.3.5 lib/droiuby/plugins/plugins.rb
droiuby-0.3.4 lib/droiuby/plugins/plugins.rb
droiuby-0.3.3 lib/droiuby/plugins/plugins.rb
droiuby-0.3.2 lib/droiuby/plugins/plugins.rb
droiuby-0.3.1 lib/droiuby/plugins/plugins.rb
droiuby-0.3.0 lib/droiuby/plugins/plugins.rb
droiuby-0.2.9 lib/droiuby/plugins/plugins.rb
droiuby-0.2.8 lib/droiuby/plugins/plugins.rb
droiuby-0.2.7 lib/droiuby/plugins/plugins.rb
droiuby-0.2.6 lib/droiuby/plugins/plugins.rb
droiuby-0.2.5 lib/droiuby/plugins/plugins.rb
droiuby-0.2.4 lib/droiuby/plugins/plugins.rb
droiuby-0.2.3 lib/droiuby/plugins/plugins.rb
droiuby-0.2.2 lib/droiuby/plugins/plugins.rb
droiuby-0.2.1 lib/droiuby/plugins/plugins.rb
droiuby-0.2.0 lib/droiuby/plugins/plugins.rb