Class: Yoda::Typing::Types::Any

Inherits:
Base
  • Object
show all
Defined in:
lib/yoda/typing/types/any.rb

Instance Method Summary collapse

Methods inherited from Base

#reference?

Instance Method Details

#to_expressionObject



5
6
7
# File 'lib/yoda/typing/types/any.rb', line 5

def to_expression
  Model::TypeExpressions::AnyType.new
end

#to_type_stringObject



9
10
11
# File 'lib/yoda/typing/types/any.rb', line 9

def to_type_string
  "any"
end