Sha256: f7bb14d6fbd09ac740e0d8cf0a581824f3f08debc4b8bcb62a9c73b49fc5662e

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

# rubocop:disable all
#
module Familia::Features
  module ApiVersion

    def apiversion(val = nil, &blk)
      if blk.nil?
        @apiversion = val if val
      else
        tmp = @apiversion
        @apiversion = val
        yield
        @apiversion = tmp
      end
      @apiversion
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
familia-1.0.0.pre.rc3 lib/familia/features/api_version.rb
familia-1.0.0.pre.rc2 lib/familia/features/api_version.rb
familia-1.0.0.pre.rc1 lib/familia/features/api_version.rb