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.0.0.rc.19 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.18 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.17 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.15 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.14 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.13 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.12 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.11 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.10 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.9 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.8 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.7 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.6 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.5 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.4 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.3 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.2 lib/albacore/task_types/asmver/fs.rb
albacore-2.0.0.rc.1 lib/albacore/task_types/asmver/fs.rb