Sha256: 612d8a323f909ff76f95c3224b9e29a22be89cef88d5f7e8a34e96aa91c54a9b
Contents?: true
Size: 562 Bytes
Versions: 38
Compression:
Stored size: 562 Bytes
Contents
module Steep module Interface class Interface class Entry attr_reader :method_types def initialize(method_types:) @method_types = method_types end def to_s "{ #{method_types.join(" || ")} }" end end attr_reader :type attr_reader :methods def initialize(type:, private:) @type = type @private = private @methods = {} end def private? @private end def public? !private? end end end end
Version data entries
38 entries across 38 versions & 1 rubygems