class Albacore::Asmver::Vb

Public Class Methods

new() click to toggle source
# File lib/albacore/task_types/asmver/vb.rb, line 5
def initialize
  @using       = "Imports"
  @start_token = "<"
  @end_token   = ">"
  @assignment  = ":="
  @statement_terminator  = ""
end

Public Instance Methods

build_attribute_re(attr_name) click to toggle source
# File lib/albacore/task_types/asmver/vb.rb, line 13
def build_attribute_re(attr_name)
  /^\<assembly: #{attr_name}(.+)/i  
end
build_multiline_comment(string_data) click to toggle source

override

# File lib/albacore/task_types/asmver/vb.rb, line 31
def build_multiline_comment string_data
  string_data.split(NL).map { |s| "' " + s }.join("\n")
end
comment_singleline_token() click to toggle source

override

# File lib/albacore/task_types/asmver/vb.rb, line 26
def comment_singleline_token
  '\''
end
namespace_end() click to toggle source
# File lib/albacore/task_types/asmver/vb.rb, line 21
def namespace_end
  ""
end
namespace_start(ns) click to toggle source
# File lib/albacore/task_types/asmver/vb.rb, line 17
def namespace_start ns
  ""
end