Sha256: 0d5ef95aa88aeb0722cfc3222adc287ad702364cc2f6bfdec474fcaf713237ec

Contents?: true

Size: 282 Bytes

Versions: 6

Compression:

Stored size: 282 Bytes

Contents

module FbGraph2
  class Struct
    def self.inherited(klass)
      klass.include AttributeAssigner
    end

    def initialize(attributes = {})
      assign attributes if respond_to? :assign
    end
  end
end

Dir[File.join(__dir__, 'struct/*.rb')].each do |file|
  require file
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fb_graph2-0.0.8 lib/fb_graph2/struct.rb
fb_graph2-0.0.7 lib/fb_graph2/struct.rb
fb_graph2-0.0.6 lib/fb_graph2/struct.rb
fb_graph2-0.0.5 lib/fb_graph2/struct.rb
fb_graph2-0.0.4 lib/fb_graph2/struct.rb
fb_graph2-0.0.3 lib/fb_graph2/struct.rb