Class: Syskit::GUI::BatchManager::NewJobDialog::Parser
- Inherits:
-
BasicObject
- Defined in:
- lib/syskit/gui/batch_manager.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, **options) ⇒ Object
207
208
209
210
|
# File 'lib/syskit/gui/batch_manager.rb', line 207
def method_missing(m, **options)
@method_name = m[0..-2]
@method_options = options
end
|
Class Method Details
.const_missing(const_name) ⇒ Object
197
198
199
|
# File 'lib/syskit/gui/batch_manager.rb', line 197
def self.const_missing(const_name)
::Object.const_get(const_name)
end
|
.parse(text) ⇒ Object
201
202
203
204
205
|
# File 'lib/syskit/gui/batch_manager.rb', line 201
def self.parse(text)
parser = new
parser.instance_eval(text)
parser.__result
end
|
Instance Method Details
212
213
214
|
# File 'lib/syskit/gui/batch_manager.rb', line 212
def __result
return @method_name, @method_options
end
|