Class: Makefile
- Inherits:
-
Object
- Object
- Makefile
- Defined in:
- lib/makefile.rb
Instance Method Summary collapse
- #get(variable) ⇒ Object
-
#initialize(include_makefile) ⇒ Makefile
constructor
A new instance of Makefile.
Constructor Details
#initialize(include_makefile) ⇒ Makefile
Returns a new instance of Makefile.
4 5 6 7 |
# File 'lib/makefile.rb', line 4 def initialize(include_makefile) @include_makefile = include_makefile @file = write end |
Instance Method Details
#get(variable) ⇒ Object
9 10 11 12 13 |
# File 'lib/makefile.rb', line 9 def get(variable) output = run variable _, value = parse output value end |