Sha256: 0e40ee05e6f663e8780957f3628109103dcb9704164044f5ae83b7174008392f

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

module Antelope
  module Generator

    # Represents a generator that does not generate anything.
    class Null < Base

      register_as "null"

      has_directive "null.data"
      has_directive "comment"

      # Does nothing.
      #
      # @return [void]
      def generate; end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
antelope-0.4.1 lib/antelope/generator/null.rb
antelope-0.4.0 lib/antelope/generator/null.rb
antelope-0.2.0 lib/antelope/generator/null.rb
antelope-0.1.11 lib/antelope/generator/null.rb
antelope-0.1.10 lib/antelope/generator/null.rb
antelope-0.1.9 lib/antelope/generator/null.rb