Sha256: 0b1949a3af80854eeec2d1af57dfb6a83f0b1f76e968d3c05790c74d7a641277

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

module ServiceContract
  AbstractType = Struct.new(:definition) do
    def name
      raise :not_implemented
    end

    def subtype
      nil
    end

    def fields
      []
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
service_contract-0.0.7 lib/service_contract/abstract_type.rb
service_contract-0.0.6 lib/service_contract/abstract_type.rb
service_contract-0.0.5 lib/service_contract/abstract_type.rb