Sha256: c1c8f5c3bf76a323828d22ec68d215de68f16d90763b30d3ac33e9629be7cdc3

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

module Glimmer
  # rename to keyword handler

  module CommandHandler
    def can_handle?(parent, command_symbol, *args, &block)
      raise "must be implemented by a class"
    end

    # TODO rename do_handle to just handle

    def do_handle(parent, command_symbol, *args, &block)
      raise "must be implemented by a class"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glimmer-0.4.9 lib/glimmer/command_handler.rb