Sha256: bfe3a30f4551c48dd0d4fe0143411e49d838790f868729a4aed4c807544604fe

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

require_relative 'identity'

module Basic101

  class Reference

    include Identity

    def initialize(identifier)
      @identifier = identifier
    end

    def input(input_reader)
      @identifier.input(input_reader)
    end

    protected

    def state
      [@identifier]
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basic101-1.0.2 lib/basic101/reference.rb
basic101-1.0.1 lib/basic101/reference.rb
basic101-1.0.0 lib/basic101/reference.rb