Sha256: 7fb3bfb05a6ddd6eca8838188eee592c6c9d92a712d6e488aa1ed2fd5d5fb278

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

class CSharpEngine
def build_attribute_re(attr_name)
    /^\[assembly: #{attr_name}(.+)/  
  end

  def build_attribute(attr_name, attr_data)
    attribute = "[assembly: #{attr_name}("
    attribute << "#{attr_data.inspect}" if attr_data != nil
    attribute << ")]"
    
    attribute
  end

  def build_using_statement(namespace)
    "using #{namespace};"
  end
    
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-0.2.5 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.2.4 lib/albacore/assemblyinfolanguages/csharpengine.rb