module Bake::Types::Type
An extension module which allows constructing `Any` types using the `|` operator.
Public Instance Methods
|(other)
click to toggle source
Create an instance of `Any` with the arguments as types. @parameter other [Type] the alternative type to match.
# File lib/bake/types/any.rb, line 75 def | other Any.new([self, other]) end