module Plaider::Configurable

Constants

KEYS

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/plaider/configurable.rb, line 8
def configure
  yield self
  self
end

Private Instance Methods

options() click to toggle source
# File lib/plaider/configurable.rb, line 15
def options
  Plaider::Configurable::KEYS.inject({}) { |hash, key| hash[key] = instance_variable_get(:"@#{key}"); hash }
end