1
0
Fork 0
mirror of https://github.com/nov/fb_graph2 synced 2023-03-27 23:22:15 -04:00

ruby 2.0.0 support

This commit is contained in:
nov 2014-06-27 13:38:30 +09:00
parent 13ded93c20
commit 50bb38b0e5
3 changed files with 3 additions and 2 deletions

View file

@ -1,2 +1,3 @@
rvm:
- 2.0.0
- 2.1.2

View file

@ -3,7 +3,7 @@ module FbGraph2
attr_accessor :id, :access_token, :raw_attributes
def self.inherited(klass)
klass.include AttributeAssigner
klass.send :include, AttributeAssigner
FbGraph2.object_classes << klass
end

View file

@ -1,7 +1,7 @@
module FbGraph2
class Struct
def self.inherited(klass)
klass.include AttributeAssigner
klass.send :include, AttributeAssigner
end
def initialize(attributes = {})