Advertisement
philippxp

Parser.rb

Aug 25th, 2011
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.29 KB | None | 0 0
  1. require 'Import.rb'
  2. require 'Comment.rb'
  3.  
  4. class Parser
  5.  
  6.   @currentHeaderFile
  7.   def initialize(currentHeaderFile)
  8.     @currentHeaderFile = currentHeaderFile
  9.   end
  10.  
  11.   def parse
  12.     import = Import.new(@currentHeaderFile)
  13.     array = import.parse()
  14.     puts array.inspect()
  15.  
  16.   end
  17.  
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement