Sha256: 0dd39660846fff80415d3cf887122b8626c57d317886dcfbcb8b412b082e0a3d

Contents?: true

Size: 272 Bytes

Versions: 7

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Avro
  module Builder

    # This concern is used to generate the full name for objects that may
    # be namespaced.
    module Namespaceable
      def fullname
        [namespace, name].compact.join('.')
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avro-builder-2.1.0 lib/avro/builder/namespaceable.rb
avro-builder-2.0.0 lib/avro/builder/namespaceable.rb
avro-builder-1.1.0 lib/avro/builder/namespaceable.rb
avro-builder-1.0.1 lib/avro/builder/namespaceable.rb
avro-builder-1.0.0 lib/avro/builder/namespaceable.rb
avro-builder-0.17.0 lib/avro/builder/namespaceable.rb
avro-builder-0.16.2 lib/avro/builder/namespaceable.rb