class Faker::Cli::Field

Attributes

arguments[RW]
name[RW]
type[RW]

Public Class Methods

new(name, type, arguments) click to toggle source
# File lib/faker/cli.rb, line 15
def initialize name, type, arguments
  @name, @type = name, type
  @arguments = arguments.map { |arg| Faker::Cli.int? arg }
end