Sha256: 1ab254612bcb9470912295b94510576b7dbee8f234e6ecca5223b141c8f9b422
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 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}::#{cpp_name}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbplusplus-0.9 | lib/rbplusplus/builders/director_method.rb |