Sha256: 2fd1e758c63bfabc1d8ba7dbdde60d76a191eb14b2e743a620bed4c7d2afff9e

Contents?: true

Size: 415 Bytes

Versions: 4

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

module Rus3
  module Printer

    # Indicates the version of the printer module.
    VERSION = "0.1.0"

    class Printer
      include Rus3::Procedure::Write

      attr_accessor :verbose

      def initialize
        @verbose = false
      end

      def print(obj)
        display(obj)
      end

      def version
        "Printer version #{VERSION}"
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rus3-0.2.0 lib/rus3/printer.rb
rus3-0.1.2 lib/rus3/printer.rb
rus3-0.1.1 lib/rus3/printer.rb
rus3-0.1.0 lib/rus3/printer.rb