class AdLint::ProjectTraits
Attributes
coding_style[R]
file_encoding[R]
file_search_paths[R]
initial_header[R]
project_name[R]
project_root[R]
target_files[R]
Public Class Methods
new(doc)
click to toggle source
# File lib/adlint/traits.rb, line 104 def initialize(doc) @project_name = doc["project_name"] @project_root = Pathname.new(doc["project_root"]) @target_files = TargetFiles.new(doc["target_files"]) @initial_header = doc["initial_header"] @file_search_paths = parse_compound_path_list(doc["file_search_paths"]) @coding_style = CodingStyle.new(doc["coding_style"]) @file_encoding = doc["file_encoding"] end
Public Instance Methods
entity_name()
click to toggle source
# File lib/adlint/traits.rb, line 114 def entity_name "project_traits" end
freeze()
click to toggle source
Calls superclass method
# File lib/adlint/traits.rb, line 200 def freeze @project_name.freeze @target_files.freeze @file_search_paths.freeze @coding_style.freeze @file_encoding.freeze super end