Sha256: eb5e9c6196e3d58ebed91bcd588688b138eb6b8f505338bf32081da68398a251

Contents?: true

Size: 357 Bytes

Versions: 6

Compression:

Stored size: 357 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

6 entries across 6 versions & 1 rubygems

Version Path
stenographer-rails-0.6.5 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.6.4 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.6.3 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.6.2 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.6.1 lib/stenographer/outputs/base_output.rb
stenographer-rails-0.6.0 lib/stenographer/outputs/base_output.rb