Sha256: ea3dfdb936af8583129f0bdfa38cbe17236e81980b9801c1f73928a72040b02f

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 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

5 entries across 5 versions & 1 rubygems

Version Path
antelope-0.3.2 lib/antelope/generator/null.rb
antelope-0.3.0 lib/antelope/generator/null.rb
antelope-0.2.4 lib/antelope/generator/null.rb
antelope-0.2.3 lib/antelope/generator/null.rb
antelope-0.2.2 lib/antelope/generator/null.rb