Sha256: beded6830229a44a4a7a99b10f1202b9787d59c5339cad8d8592b7fddaa8495f

Contents?: true

Size: 184 Bytes

Versions: 22

Compression:

Stored size: 184 Bytes

Contents

module FbGraph2
  module Util
    module_function

    def as_identifier(object)
      if object.respond_to? :id
        object.id
      else
        object
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
fb_graph2-0.0.5 lib/fb_graph2/util.rb
fb_graph2-0.0.4 lib/fb_graph2/util.rb