Class: ParseC::HeaderFile

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

Overview

Included local header.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ HeaderFile

Initialize.



228
229
230
231
# File 'lib/parsec.rb', line 228

def initialize( path )
    @name = File.basename( path )
    @path = path
end

Instance Attribute Details

#nameObject (readonly)

File name.



222
223
224
# File 'lib/parsec.rb', line 222

def name
  @name
end

#pathObject (readonly)

File path.



225
226
227
# File 'lib/parsec.rb', line 225

def path
  @path
end