Module: PollEverywhere::Configurable

Included in:
Configuration, Serializable::Property
Defined in:
lib/polleverywhere/configurable.rb

Overview

The configurable mixin is a tiny DSL that instance evals words in a class variable for terse configuration code.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
# File 'lib/polleverywhere/configurable.rb', line 5

def self.included(base)
  base.send :extend,  ClassMethods
  base.send :include, InstanceMethods
end