░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/vendor/bundle/ruby/3.1.0/gems/parslet-2.0.0/spec
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: spec_helper.rb
require 'parslet' require 'parslet/rig/rspec' require 'parslet/atoms/visitor' require 'parslet/export' require 'ae' RSpec.configure do |config| config.mock_with :flexmock begin # Here's to the worst idea ever, rspec. This is why we'll be leaving you soon. config.expect_with :rspec do |c| c.syntax = [:should, :expect] end rescue NoMethodError # If the feature is missing, ignore it. end # Exclude other ruby versions by giving :ruby => 1.8 or :ruby => 1.9 # config.filter_run_excluding :ruby => lambda { |version| RUBY_VERSION.to_s !~ /^#{Regexp.escape(version.to_s)}/ } end def catch_failed_parse begin yield rescue Parslet::ParseFailed => exception end exception.parse_failure_cause end def slet name, &block let(name, &block) subject(&block) end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 acceptance/
DIR
—
2023-09-24 03:47
📁 parslet/
DIR
—
2023-09-24 03:47
📄 spec_helper.rb
RB
818 B
2023-09-24 03:47
EDIT