Class: Jfuzz::EnumGenerator

Inherits:
Generator show all
Defined in:
lib/jfuzz/generators/enum_generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Generator

#initialize, #try_generate

Constructor Details

This class inherits a constructor from Jfuzz::Generator

Class Method Details

.typeObject



11
12
13
# File 'lib/jfuzz/generators/enum_generator.rb', line 11

def self.type
  "enum"
end

Instance Method Details

#generateObject



7
8
9
# File 'lib/jfuzz/generators/enum_generator.rb', line 7

def generate
  pick_value
end