class TypedRb::Model::TmStringInterpolation
String
interpolation
Attributes
units[R]
Public Class Methods
new(units, node)
click to toggle source
Calls superclass method
TypedRb::Model::Expr::new
# File lib/typed/model/tm_string_interpolation.rb, line 8 def initialize(units, node) super(node) @units = units end
Public Instance Methods
check_type(context)
click to toggle source
# File lib/typed/model/tm_string_interpolation.rb, line 13 def check_type(context) units.each do |unit| unit.check_type(context) end Types::TyString.new(node) end