class TypeProf::Core::AST::LiteralNode::NilNode::TrueNode::FalseNode::IntegerNode::FloatNode::RationalNode

Public Class Methods

new(raw_node, lenv) click to toggle source
Calls superclass method TypeProf::Core::AST::LiteralNode::new
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 78
def initialize(raw_node, lenv)
  super(raw_node, lenv, raw_node.slice.to_r)
end

Public Instance Methods

install0(genv) click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/value.rb, line 82
  def install0(genv) = Source.new(genv.rational_type)
end