Sha256: fae1e578692fd7b016b92fe28b016e52f4d63e07c25f284941f5da14e988ad24

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

class HeartTop::Plugin::Base
  class NotImplementedError < StandardError; end

  class << self
    def ping
      raise NotImplementedError.new "`##{__method__}` must be implemented in subclass"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
heart_top-0.1.1 lib/heart_top/plugin/base.rb
heart_top-0.1.0 lib/heart_top/plugin/base.rb