Class: DevSystem::Generator
- Inherits:
-
Liza::Controller
- Object
- Liza::Unit
- Liza::Controller
- DevSystem::Generator
- Defined in:
- lib/dev_system/sub/generator/generator.rb
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from Liza::Controller
color, inherited, on_connected
Methods inherited from Liza::Unit
const_missing, division, part, system, #system, test_class
Class Method Details
.get_generator_signatures ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/dev_system/sub/generator/generator.rb', line 3 def self.get_generator_signatures signatures = [] ancestors_until(Generator).each do |c| signatures += c.methods_defined.select do |name| c.method(name).parameters == [[:req, :args]] end.map do |name| OpenStruct.new({ name: ( name == :call ? "" : name.to_s ), description: "# no description", }) end end signatures end |