method
with_ruby
RSpec latest stable (1.2.8)
-
0 notes -
Class: Spec::Matchers
- 1.1.4
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- What's this?
with_ruby(version)
public
Hide source
# File spec/spec_helper.rb, line 47 def with_ruby(version) yield if RUBY_PLATFORM =~ Regexp.compile("^#{version}") end

