Module: BBLib::Effortless

Included in:
Cron, EffortlessClass, FuzzyMatcher, HTML::Tag, OptsParser, OptsParser::Option, Splitter, TaskTimer, HashPath, HashPath::Part
Defined in:
lib/bblib/core/mixins/effortless.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
12
13
# File 'lib/bblib/core/mixins/effortless.rb', line 4

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

Instance Method Details

#_attrsObject



15
16
17
# File 'lib/bblib/core/mixins/effortless.rb', line 15

def _attrs
  self.class._attrs
end