Class: Varar::Core::Registry

Inherits:
Data
  • Object
show all
Defined in:
lib/varar/core/registry.rb

Overview

A registry of step definitions plus the shared cucumber ParameterTypeRegistry and per-type display formatters (kept beside it because ParameterType can't carry one). Port of registry.ts.

Instance Attribute Summary collapse

Instance Attribute Details

#formatsObject (readonly)

Returns the value of attribute formats

Returns:

  • (Object)

    the current value of formats



18
19
20
# File 'lib/varar/core/registry.rb', line 18

def formats
  @formats
end

#parameter_typesObject (readonly)

Returns the value of attribute parameter_types

Returns:

  • (Object)

    the current value of parameter_types



18
19
20
# File 'lib/varar/core/registry.rb', line 18

def parameter_types
  @parameter_types
end

#stepsObject (readonly)

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



18
19
20
# File 'lib/varar/core/registry.rb', line 18

def steps
  @steps
end