Class: Antelope::Generator::Null

Inherits:
Base
  • Object
show all
Defined in:
lib/antelope/generator/null.rb

Overview

Represents a generator that does not generate anything.

Instance Attribute Summary

Attributes inherited from Base

#file, #grammar, #mods

Instance Method Summary collapse

Methods inherited from Base

#initialize, #productions, register_as, source_root, #table, #template

Constructor Details

This class inherits a constructor from Antelope::Generator::Base

Instance Method Details

#generatevoid

This method returns an undefined value.

Does nothing.



10
# File 'lib/antelope/generator/null.rb', line 10

def generate; end