Sha256: 531fc0803d38a68b658128153c7529c09effcd5efa60fafcff9bff458c4a1601
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
require 'albacore/asmver/engine' module Albacore::Asmver class CppCliEngine < 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.6.2.rc1 | lib/albacore/asmver/cpp.rb |