Sha256: 0eee7c9f40acac6031db4fe1340195fd79dcccaeb8727de9f0a0656e9f9dbd9b

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

class Houndstooth::Environment
    class VoidType < Type
        def accepts?(other)
            # Only valid as a return type, and you can return anything in a void method
            1
        end

        def rbs
            "void"
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
houndstooth-0.1.0 lib/houndstooth/environment/types/special/void_type.rb