Sha256: 8de22490a7fde107d259d8ffb3b8ec2ef3646393a80e0bda8d4d22eb1c5199d9

Contents?: true

Size: 190 Bytes

Versions: 2

Compression:

Stored size: 190 Bytes

Contents

module GeneratorErrors
  class << self
    def output
      @output ||= []
    end

    def add_error(message)
      output << message
    end

    def errors
      output
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
react_on_rails-1.2.2 lib/generators/react_on_rails/generator_errors.rb
react_on_rails-1.2.1 lib/generators/react_on_rails/generator_errors.rb