Sha256: 262ff305861ec7057153cdcd6a6cd676cd5b164f805138e4a46455c07767426b

Contents?: true

Size: 327 Bytes

Versions: 13

Compression:

Stored size: 327 Bytes

Contents

class KindaComplexComponent < Netzke::Base
  module ExtraStuff
    extend ActiveSupport::Concern

    included do
      component :server_caller
    end

    # Let's add another tab with a Netzke component in it
    def final_config
      orig = super
      orig[:items] << :server_caller.component
      orig
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
netzke-core-0.7.7 test/core_test_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.7.6 test/core_test_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.7.5 test/core_test_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.7.4 test/core_test_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.7.3 test/core_test_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.7.2 test/core_test_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.7.1 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.6.7 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.7.0 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.6.6 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.6.5 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.6.4 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.6.3 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb