Module: Duby::Typer

Defined in:
lib/duby/typer.rb,
lib/duby/jvm/typer.rb,
lib/duby/plugin/java.rb,
lib/duby/jvm/source_generator/typer.rb

Defined Under Namespace

Classes: BaseTyper, InferenceError, JVM, JavaSource, JavaTyper, Simple

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.verboseObject

Returns the value of attribute verbose.



7
8
9
# File 'lib/duby/typer.rb', line 7

def verbose
  @verbose
end

Class Method Details

.log(message) ⇒ Object



9
10
11
# File 'lib/duby/typer.rb', line 9

def log(message)
  puts "* [#{name}] #{message}" if Typer.verbose
end