method

with_ruby

Importance_0
1.1.12 - Show latest stable - 0 notes - Class: Spec::Matchers
with_ruby(version) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File spec/spec_helper.rb, line 47
    def with_ruby(version)
      yield if RUBY_PLATFORM =~ Regexp.compile("^#{version}")
    end
Register or log in to add new notes.