Module: Mirah::AST::Binding

Included in:
MethodDefinition, Script
Defined in:
lib/mirah/ast.rb

Instance Method Summary collapse

Instance Method Details

#binding_type(duby = nil) ⇒ Object



361
362
363
# File 'lib/mirah/ast.rb', line 361

def binding_type(duby=nil)
  static_scope.binding_type(defining_class, duby)
end

#binding_type=(type) ⇒ Object



365
366
367
# File 'lib/mirah/ast.rb', line 365

def binding_type=(type)
  static_scope.binding_type = type
end

#has_binding?Boolean

Returns:



369
370
371
# File 'lib/mirah/ast.rb', line 369

def has_binding?
  static_scope.has_binding?
end