Sha256: 44bec89f94b2922d8eefd7914540ebd8f7c072c36e409ced0f9ac8a7015b7ef4

Contents?: true

Size: 212 Bytes

Versions: 76

Compression:

Stored size: 212 Bytes

Contents

# coding: utf-8

if RUBY_VERSION < "1.9"

  def ruby_18 #:nodoc:
    yield
  end

  def ruby_19 #:nodoc:
    false
  end

else

  def ruby_18 #:nodoc:
    false
  end

  def ruby_19 #:nodoc:
    yield
  end

end

Version data entries

76 entries across 76 versions & 4 rubygems

Version Path
github_api-0.6.5 lib/github_api/compatibility.rb
bitbucket_rest_api-0.1.1 lib/bitbucket_rest_api/compatibility.rb
bitbucket_rest_api-0.1.0 lib/bitbucket_rest_api/compatibility.rb
github_api-0.6.4 lib/github_api/compatibility.rb
github_api-0.6.3 lib/github_api/compatibility.rb
github_api-0.6.2 lib/github_api/compatibility.rb
github_api-0.6.1 lib/github_api/compatibility.rb
github_api-0.6.0 lib/github_api/compatibility.rb
github_api-0.5.4 lib/github_api/compatibility.rb
github_api-0.5.3 lib/github_api/compatibility.rb
github_api-0.5.2 lib/github_api/compatibility.rb
github_api-0.5.1 lib/github_api/compatibility.rb
github_api-0.5.0 lib/github_api/compatibility.rb
github_api-0.5.0.rc1 lib/github_api/compatibility.rb
github_api-0.4.11 lib/github_api/compatibility.rb
github_api-0.4.10 lib/github_api/compatibility.rb
github_api-0.4.9 lib/github_api/compatibility.rb
github_api-0.4.8 lib/github_api/compatibility.rb
github_api-0.4.7 lib/github_api/compatibility.rb
github_api-0.4.6 lib/github_api/compatibility.rb