Class: Ecic::SourceFile

Inherits:
Object
  • Object
show all
Defined in:
lib/ecic/source_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject

, :library



5
6
7
# File 'lib/ecic/source_file.rb', line 5

def path
  @path
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/ecic/source_file.rb', line 12

def to_s
  "#{path}"
end