Revision 20160073
Added by Justin Sherrill about 9 years ago
lib/runcible/instance.rb | ||
---|---|---|
34 | 34 |
@@extension_classes |
35 | 35 |
end |
36 | 36 |
|
37 |
|
|
38 | 37 |
attr_accessor :resources |
39 | 38 |
attr_accessor :extensions |
40 | 39 |
|
... | ... | |
72 | 71 |
@config[key] = value |
73 | 72 |
end |
74 | 73 |
|
74 |
def config |
|
75 |
@config |
|
76 |
end |
|
77 |
|
|
75 | 78 |
private |
76 | 79 |
|
77 | 80 |
def initialize_wrappers(config) |
... | ... | |
105 | 108 |
|
106 | 109 |
end |
107 | 110 |
|
108 |
|
|
109 | 111 |
#Wrapper class to provide access to instances |
110 | 112 |
class Wrapper |
111 | 113 |
|
... | ... | |
124 | 126 |
end |
125 | 127 |
end |
126 | 128 |
|
127 |
|
|
128 | 129 |
end |
129 | 130 |
|
Also available in: Unified diff
adding a config method for retrieving current configuration