Sha256: c435e58fe9e483cdbc622b64fd78f68f7b98a9b9fc90b5c60e5306fa8b92b2e2
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true module Cucumber class StepDefinitions def initialize(configuration = Configuration.default) configuration = Configuration.new(configuration) @support_code = Runtime::SupportCode.new(nil, configuration) @support_code.load_files_from_paths(configuration.autoload_code_paths) end def to_json @support_code.step_definitions.map(&:to_hash).to_json end end end
Version data entries
5 entries across 5 versions & 2 rubygems