Module: NudgeType

Defined in:
lib/interpreter/types/codeType.rb,
lib/interpreter/types/pushTypes.rb,
lib/interpreter/types/proportion_type.rb

Defined Under Namespace

Modules: TypeBehaviors Classes: BoolType, CodeType, FloatType, IntType, ProportionType, StringRewritingGenerator

Class Method Summary collapse

Class Method Details

.all_typesObject



5
6
7
# File 'lib/interpreter/types/pushTypes.rb', line 5

def self.all_types
  @all_types ||= []
end

.push_typesObject



9
10
11
# File 'lib/interpreter/types/pushTypes.rb', line 9

def self.push_types
  [IntType, BoolType, FloatType, CodeType]
end