Class: MasterView::Analyzer::ContentEntry
- Inherits:
-
Object
- Object
- MasterView::Analyzer::ContentEntry
- 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
-
#data ⇒ Object
Returns the value of attribute data.
-
#hash ⇒ Object
Returns the value of attribute hash.
Instance Method Summary collapse
-
#initialize(data) ⇒ ContentEntry
constructor
A new instance of ContentEntry.
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
#data ⇒ Object
Returns the value of attribute data.
54 55 56 |
# File 'lib/masterview/analyzer.rb', line 54 def data @data end |
#hash ⇒ Object
Returns the value of attribute hash.
54 55 56 |
# File 'lib/masterview/analyzer.rb', line 54 def hash @hash end |