Sha256: 71a6e5fb9959b483a198cc50e904e98895eea5d47006531237a74aaba5cef944

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

require 'albacore/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
    
    def before
      "module AssemblyInfo" # this could be anything
    end
    
    def after
      "()" # need to yield unit
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
albacore-0.6.2.rc1 lib/albacore/asmver/fs.rb