module Djoini::Composable

Handles array for dynamic attributes and the module to include

Public Instance Methods

features() click to toggle source
# File lib/djoini/composite.rb, line 4
def features
  @__features__ ||= Composite.new
end
method_missing(method, *array, &block) click to toggle source
# File lib/djoini/composite.rb, line 12
def method_missing(method, *array, &block)
  features.dispatch(method, *array, &block)
end
respond_to_missing?(method, *_array) click to toggle source
# File lib/djoini/composite.rb, line 8
def respond_to_missing?(method, *_array)
  features.reveives?(method)
end