Sha256: 393a8a883185398a5f5337dfc4dbc51970768c37b91caf06c4de32cbcba1a6b6

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

module BBLib
  module Effortless
    def self.included(base)
      base.extend(BBLib::Attrs)
      base.extend(BBLib::Hooks)
      base.singleton_class.extend(BBLib::Hooks)
      base.extend(BBLib::FamilyTree) unless BBLib.in_opal?
      base.extend(BBLib::Bridge)
      base.send(:include, BBLib::Serializer)
      base.send(:include, BBLib::SimpleInit)
      base.send(:include, BBLib::Logger)
    end

    def _attrs
      self.class._attrs
    end
  end

  class EffortlessClass
    include Effortless
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bblib-0.4.1 lib/class/effortless.rb