Class: Mkmf::Lite::Configuration
- Inherits:
-
Object
- Object
- Mkmf::Lite::Configuration
- Defined in:
- lib/mkmf/lite.rb
Overview
Stores process-wide defaults for compiler probe commands.
Instance Attribute Summary collapse
-
#cflags ⇒ Object
Returns the value of attribute cflags.
-
#compiler ⇒ Object
Returns the value of attribute compiler.
-
#include_dirs ⇒ Object
Returns the value of attribute include_dirs.
-
#ldflags ⇒ Object
Returns the value of attribute ldflags.
-
#lib_dirs ⇒ Object
Returns the value of attribute lib_dirs.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
23 24 25 26 27 28 29 |
# File 'lib/mkmf/lite.rb', line 23 def initialize @compiler = nil @include_dirs = [] @lib_dirs = [] @cflags = [] @ldflags = [] end |
Instance Attribute Details
#cflags ⇒ Object
Returns the value of attribute cflags.
21 22 23 |
# File 'lib/mkmf/lite.rb', line 21 def cflags @cflags end |
#compiler ⇒ Object
Returns the value of attribute compiler.
20 21 22 |
# File 'lib/mkmf/lite.rb', line 20 def compiler @compiler end |
#include_dirs ⇒ Object
Returns the value of attribute include_dirs.
21 22 23 |
# File 'lib/mkmf/lite.rb', line 21 def include_dirs @include_dirs end |
#ldflags ⇒ Object
Returns the value of attribute ldflags.
21 22 23 |
# File 'lib/mkmf/lite.rb', line 21 def ldflags @ldflags end |
#lib_dirs ⇒ Object
Returns the value of attribute lib_dirs.
21 22 23 |
# File 'lib/mkmf/lite.rb', line 21 def lib_dirs @lib_dirs end |