Sha256: 3a7c18a02beda73a1f96de7e0e5c0bab72e199454539ab0d2377158fd174a307
Contents?: true
Size: 433 Bytes
Versions: 7
Compression:
Stored size: 433 Bytes
Contents
require 'albacore/task_types/asmver/engine' module Albacore::Asmver class Cpp < Engine def initialize @start_token = "[" @end_token = "]" @assignment = "=" @statement_terminator = ";" end def build_attribute_re(attr_name) /^\[assembly: #{attr_name}(.+)/ end def build_using_statement(namespace) "using namespace #{namespace.gsub(/\./, '::')};" end end end
Version data entries
7 entries across 7 versions & 1 rubygems