Class: MasterView::Analyzer::ContentEntry

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/masterview/analyzer.rb

Constant Summary

Constants included from Common

MasterView::Analyzer::Common::ImportToNonImportDir, MasterView::Analyzer::Common::NonImportToImportDir

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Common

#calc_hash, #convert_import_to_non_import_dirs, #convert_non_import_to_import_dirs, #src_hash

Constructor Details

#initialize(data) ⇒ ContentEntry

Returns a new instance of ContentEntry.



56
57
58
59
# File 'lib/masterview/analyzer.rb', line 56

def initialize(data)
  @data = data
  @hash = src_hash(data)
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



54
55
56
# File 'lib/masterview/analyzer.rb', line 54

def data
  @data
end

#hashObject

Returns the value of attribute hash.



54
55
56
# File 'lib/masterview/analyzer.rb', line 54

def hash
  @hash
end