Class: ParseC::HeaderFile
- Inherits:
-
Object
- Object
- ParseC::HeaderFile
- Defined in:
- lib/parsec.rb
Overview
Included local header.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
File name.
-
#path ⇒ Object
readonly
File path.
Instance Method Summary collapse
-
#initialize(path) ⇒ HeaderFile
constructor
Initialize.
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
#name ⇒ Object (readonly)
File name.
222 223 224 |
# File 'lib/parsec.rb', line 222 def name @name end |
#path ⇒ Object (readonly)
File path.
225 226 227 |
# File 'lib/parsec.rb', line 225 def path @path end |