Sha256: b44c8508537b97c96a5a7e4ebb5dd4e64a8a98d6acdb512f2a16cc491efb4b24
Contents?: true
Size: 410 Bytes
Versions: 40
Compression:
Stored size: 410 Bytes
Contents
module Cucumber class StepDefinitions def initialize(configuration = Configuration.default) configuration = Configuration.parse(configuration) @support_code = Runtime::SupportCode.new(nil, false) @support_code.load_files_from_paths(configuration.autoload_code_paths) end def to_json @support_code.step_definitions.map{|stepdef| stepdef.to_hash}.to_json end end end
Version data entries
40 entries across 38 versions & 2 rubygems