Sha256: 0dbc8cea4f489be7202c1553d797fde6d5f90a1a666b9006a1f202953994b166
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
class Houndstooth::Environment # A special type which can be used in place of a method, typically only `new`. Specifies # that the resolved instance method should actually be taken from an uneigened `initialize`. class SpecialConstructorMethod < Type def initialize(name) @name = name end attr_accessor :name def rbs "<special constructor '#{name}'>" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
houndstooth-0.1.0 | lib/houndstooth/environment/types/method/special_constructor_method.rb |