Sha256: bb958404070909328f15bcaf5640ae27d60728912942451d528064a0efa6f556
Contents?: true
Size: 419 Bytes
Versions: 9
Compression:
Stored size: 419 Bytes
Contents
module RbPlusPlus module Builders # Expose a director method as an instance method class DirectorMethodNode < MethodNode def initialize(method, parent, director) super(method, parent) @director = director end def code_path cpp_name = self.code.qualified_name.split("::")[-1] "#{@director.qualified_name}::default_#{cpp_name}" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems