Sha256: 00585c3448b93483bb31561e9ba281ce2381726769e23538f48b5edc2cb4cb9d

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 Bytes

Contents

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
albacore-0.2.3 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.2.2 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.2.0.preview2 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.2.0.preview1 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.1.5 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.1.4 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.1.3 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.1.2 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.1.1 lib/albacore/assemblyinfolanguages/csharpengine.rb
albacore-0.1.0 lib/albacore/assemblyinfolanguages/csharpengine.rb