Sha256: 6509cfe2d9cbb5d29ab42dad3bde1f78243295fd91f3bbc021d0c33ca0a8b4f2
Contents?: true
Size: 289 Bytes
Versions: 24
Compression:
Stored size: 289 Bytes
Contents
module FbGraph2 class Struct def self.inherited(klass) klass.send :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
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
fb_graph2-0.1.0 | lib/fb_graph2/struct.rb |
fb_graph2-0.0.11 | lib/fb_graph2/struct.rb |
fb_graph2-0.0.10 | lib/fb_graph2/struct.rb |
fb_graph2-0.0.9 | lib/fb_graph2/struct.rb |