Sha256: 80e0b5efe62bac8f7d11f8106838afdc0889438724504f38adb90f8ba37453e1

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

module WampRailsTest
  class TestSubscriptionController < WampRails::Controller::Subscription
    @@count = 0

    def self.count
      @@count
    end

    def handler
      @@count = args[0] + kwargs[:number]
      nil
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wamp_rails-0.0.2 spec/support/test_subscription_controller.rb