class CodeTools::AST::InlineAssembly
Handles Rubinius.asm
Public Class Methods
match?(line, receiver, name, arguments, privately)
click to toggle source
# File lib/rubinius/code/ast/transforms.rb, line 200 def self.match?(line, receiver, name, arguments, privately) match_send? receiver, :Rubinius, name, :asm end
Public Instance Methods
bytecode(g)
click to toggle source
# File lib/rubinius/code/ast/transforms.rb, line 204 def bytecode(g) e = Evaluator.new g, @block.arguments.names, @arguments.array e.execute @block.body end