Sha256: b0c3bc49a22b90534c41744040050c5fc9e68b382b40d5911daf96e63885c3e5

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

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-0.4.0 lib/basic101/reference.rb
basic101-0.2.0 lib/basic101/reference.rb
basic101-0.1.0 lib/basic101/reference.rb