Sha256: 6711dbe22dfc750b98e2dbee92a6c7aa10d0d6b0d1647765d6cc9b05f8e21e31
Contents?: true
Size: 559 Bytes
Versions: 13
Compression:
Stored size: 559 Bytes
Contents
module Fakeit module App class Options attr_reader :permissive, :use_example def initialize(permissive: false, use_example: false, static: false, static_types: [], static_properties: []) @permissive = permissive @use_example = use_example @static = static @static_types = static_types @static_properties = static_properties end def use_static?(type: nil, property: nil) @static || @static_types.include?(type) || @static_properties.include?(property) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems