Class: Ecic::SourceFile
- Inherits:
-
Object
- Object
- Ecic::SourceFile
- Defined in:
- lib/ecic/source_file.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
, :library.
Instance Method Summary collapse
-
#initialize(library, path) ⇒ SourceFile
constructor
A new instance of SourceFile.
- #to_s ⇒ Object
Constructor Details
#initialize(library, path) ⇒ SourceFile
Returns a new instance of SourceFile.
7 8 9 10 |
# File 'lib/ecic/source_file.rb', line 7 def initialize(library, path) @library = library @path = path end |
Instance Attribute Details
#path ⇒ Object
, :library
5 6 7 |
# File 'lib/ecic/source_file.rb', line 5 def path @path end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/ecic/source_file.rb', line 12 def to_s "#{path}" end |