Module: Duby::AST::Binding
- Included in:
- MethodDefinition, Script
- Defined in:
- lib/duby/ast.rb
Instance Method Summary collapse
Instance Method Details
#binding_type(duby = nil) ⇒ Object
336 337 338 |
# File 'lib/duby/ast.rb', line 336 def binding_type(duby=nil) static_scope.binding_type(defining_class, duby) end |
#binding_type=(type) ⇒ Object
340 341 342 |
# File 'lib/duby/ast.rb', line 340 def binding_type=(type) static_scope.binding_type = type end |
#has_binding? ⇒ Boolean
344 345 346 |
# File 'lib/duby/ast.rb', line 344 def has_binding? static_scope.has_binding? end |