Sha256: df2bae563691ed5c4836ab30f5fa364f6824fd8ad1752ab37ec6a9f0acd0b7d2

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

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

    def type
      raise :not_implemented
    end

    def default
      nil
    end

    def doc
      nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
service_contract-0.0.6 lib/service_contract/abstract_parameter.rb
service_contract-0.0.5 lib/service_contract/abstract_parameter.rb