method
with_ruby
1.1.12 -
Show latest stable
- Class:
Spec::Matchers
with_ruby(version)public
No documentation available.
# File spec/spec_helper.rb, line 47
def with_ruby(version)
yield if RUBY_PLATFORM =~ Regexp.compile("^#{version}")
end