Sha256: 3fec8668fe41f04bf1b9afb978dde4502097e02bc409ff3501066bb5a4007e7a

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

module Stenographer
  module Outputs
    class BaseOutput
      def initialize(change: nil, output: nil)
        raise StandardError, 'you must pass the Output' if output.blank?

        @change = change
        @output = output
      end

      def send
        raise StandardError, 'implement me'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stenographer-rails-0.7.4 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.7.3 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.7.1 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.7.0 lib/stenographer/outputs/base_output.rb