lib/lite_cable/channel/base.rb
# A set of method names that should be considered actions.
# This includes all public instance methods on a channel except from Channel::Base methods.
A set of method names that should be considered actions.
This includes all public instance methods on a channel except from Channel::Base methods.
A set of method names that should be considered actions . This includes all public instance methods on a channel except from Channel :: Base methods .
def action_methods
          @action_methods ||= begin
            methods = (public_instance_methods(true) -
              LiteCable::Channel::Base.public_instance_methods(true) +
              public_instance_methods(false)).uniq.map(&:to_s)
            methods.to_set
          end
        end
def action_methods @action_methods ||= begin methods = ( public_instance_methods ( true ) - LiteCable :: Channel :: Base . public_instance_methods ( true ) + public_instance_methods ( false ) ) . uniq . map ( & :to_s ) methods . to_set end end
A set of method names that should be considered actions.
A set of method names that should be considered actions .
# All public instance methods of this class, including ancestors # Except for public instance methods of Base and its ancestors # Be sure to include shadowed public instance methods of this class