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.5.1 lib/fb_graph2/util.rb
fb_graph2-0.5.0 lib/fb_graph2/util.rb
fb_graph2-0.4.4 lib/fb_graph2/util.rb
fb_graph2-0.4.3 lib/fb_graph2/util.rb
fb_graph2-0.4.1 lib/fb_graph2/util.rb
fb_graph2-0.4.0 lib/fb_graph2/util.rb
fb_graph2-0.3.2 lib/fb_graph2/util.rb
fb_graph2-0.3.1 lib/fb_graph2/util.rb
fb_graph2-0.3.0 lib/fb_graph2/util.rb
fb_graph2-0.2.0 lib/fb_graph2/util.rb
fb_graph2-0.1.3 lib/fb_graph2/util.rb
fb_graph2-0.1.2 lib/fb_graph2/util.rb
fb_graph2-0.1.1 lib/fb_graph2/util.rb
fb_graph2-0.1.0 lib/fb_graph2/util.rb
fb_graph2-0.0.11 lib/fb_graph2/util.rb
fb_graph2-0.0.10 lib/fb_graph2/util.rb
fb_graph2-0.0.9 lib/fb_graph2/util.rb
fb_graph2-0.0.8 lib/fb_graph2/util.rb
fb_graph2-0.0.7 lib/fb_graph2/util.rb
fb_graph2-0.0.6 lib/fb_graph2/util.rb