Sha256: 78b4fdfc715a41dee41f165bebc610e20b077b1b61724f185fccb0e114a46835

Contents?: true

Size: 597 Bytes

Versions: 58

Compression:

Stored size: 597 Bytes

Contents

require 'albacore/task_types/asmver/engine'

module Albacore::Asmver
  class Fs < Engine
    def initialize
      @using       = "open"
      @start_token = "[<"
      @end_token   = ">]"
      @assignment  = "="
      @statement_terminator  = ""
    end
    
    def build_attribute_re(attr_name)
      /^\[\<assembly: #{attr_name}(.+)/
    end

    # namespaces

    def namespace_start ns
      "namespace #{ns}"
    end

    def namespace_end
      "()\n"
    end 

    # comments

    def comment_multiline_start
      '(*'
    end

    def comment_multiline_end
      '*)'
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
albacore-2.3.9 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.8 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.7 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.6 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.5 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.4 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.3 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.2 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.1 lib/albacore/task_types/asmver/fs.rb
albacore-2.3.0 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.1 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0.pre.beta.7 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0.pre.beta.6 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0.pre.beta.5 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0.pre.beta.4 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0.pre.beta.3 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0.pre.beta.2 lib/albacore/task_types/asmver/fs.rb
albacore-2.2.0.pre.beta lib/albacore/task_types/asmver/fs.rb
albacore-2.1.2 lib/albacore/task_types/asmver/fs.rb